gkaindia.com

Home > > How 2 set the background color in j2me

How 2 set the background color in j2me

Advertisement
Can any body tell me how to set the background color to midlet.??
Advertisement
if you are using Screen then you can call its setBackColor()
or if you are using Canvas then you can call
g.setColor(r,g,b);
g.fillRect(0,0,getWidth,getHieght);
where g is the Graphics instance of Canvas,for further information consult documentation
Read the other 2 answers
Hello I have a question about create a Form on J2ME Midlet. How could we change the Background Color Of Form? Is it possible? Thanx a lot.You can try the J2ME forums http://forum.java.sun.com/category.jspa?categoryID=23 Then don't seem to be bursting
Hello All, I want to set background color to the form. Can anybody know how to set the background color to form. Please help ..... :) --- SachinIt's impossible, you have to use canvas instead of form to set background colorRead other 3 answers
Hi All, I am developing a swing application using The Swing Application Framework(SAF)(JSR 296). I this application i have multiple JPanel's embedded in a JTabbedPane. In this way i have three JTabbedPane embedded in a JFrame. Now is there any way to
I see this question asked a ton on here, and never EVER am I finding an answer.  I know in the past (Adobe CS 5) in Bridge you could view the transparency of a black silhouette image against a medium grey so you could see the content of the clip.  Ad
Hi Experts, I am new to BSP. I am working in CRM 7.0 version and designing a view using MVC method in BSP. I have two doubts:: 1. How can i get background color in a view ? 2. How can i attach a picture, that is in paint-brush, in background ? Thanks
I can't get to change the back ground color [The greenish grey color] , within a table,  of a web page... Please see http://www.urefillit.com/index2.html  Can use some help here... Also I notice that the foliage background is slow in loading... Any s
I have a word doc that I am trying to conver to pdf.  I have jpegs with text boxes on top of them on one page.  It looks great on the screen but after I convert to pdf, the text boxes only have half the text, the first half of the text box is just wh
I've done this many times without any problems, but this time its a little different situation and I can't get it to work. I can use this CASE WHEN statement without any problems. CASE WHEN NAME in (select EMP_REQUEST_NAME from OAX_PTA_LOGGER where E
i am having a great deal of difficulty with cfdocument rendering my tables with cells that have background colors. the background colors seem to bleed through the table border. a picture at 100% magnification can be seen at http://www.vitad.com/cfdoc
Hi, I have 5 columns in my report and I would like to have different background color for column headings. How can I do this in report templates? I was looking at Column heading section- <th class="t10ReportHeader"#ALIGNMENT# id="#COLUMN
Hi all, I have created an application in Apex 3.2. I am now able to disable the text fields, select lists and textarea. Ex: function disableDD()   var v_ddays              = document.getElementById("P2_DELINQUENCY_DAYS");   v_ddays.value        
Hi, i am new to swing programming. I have created a JFrame called framehelp and i placed some labels in the frame. I have set the background color as yellow for the frame ie by setBackground(new java.awt.Color(255, 255, 204)); But after compiling the
Hi, This is my first time writing a GUI, and I'm pretty new to Swing and Java. I just recently switched from C++, and so far Java seems to be doing a nice job =) Currently I have a gazilion components (textfields, labels, panels) and I'm wondering if
I have a OOTB CEWP. When I insert a table to this, I would like to see a context menu that would give me an option to change the selected cell's/row's/table's properties like cell padding/cell spacing/background color etc. How can this be achieved us
I have trouble reading in Black and White. On my PC I can change the background  color (and I am not just talking about for a word or pages document) but for eveything so anything that was a white background I can put in what ever color I like but it
Hi All,           i creared a view with 2 textboxes and a button.These elements are in TransparentContainer.I set the background color to the TransparentContainer.By setting color to the TransparentContainer it is comming at the center and the 4 side
Hi, In my application use will enter some set of Cost Centers in a table and submits request. In return i will get a list of invalid cost centers which i need to display in a table with input field In that table all cost centers will displayed, but i
I am trying to create a PDF file from some application. Please note that the picture in this application has the black background. So I invoke a Print command and set a printer as "Adobe PDF". As a result, I have generated  a brilliant PDF file
Hi, I create object loading program. my problem is run time i change object background color using color picker. i select any one color of color picker than submit. The selecting color not assign object background. pls help me? How to run time change