aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Problem in combo box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Problem in combo box" Watch "Problem in combo box" New topic
Author

Problem in combo box

kirtesh jain
Ranch Hand

Joined: Nov 15, 2008
Posts: 44
hi..
I have one Frame and one Panel in that with some buttons...
whenever i click a diff button the new Internal Frame is appeared...
and in two Internal Frame I have Combo Box for selecting dates..
everything is working fine but now the problem is whenever i choose date in the combo box , items of combobox are appearde and when it get roll back the background (part of panel on the Internal Frame) get disappeared which looks odd....
please any one can help me....
thank you
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4542
    
    5

What's a diff button?

It loks like you might be (a) mixing Swing and AWT components in the same GUI or (b) performing long running task(s) on the EDT thus hindering repainting.

To get better help sooner, post a SSCCE* that clearly demonstrates your problem.

*Link:
http://mindprod.com/jgloss/sscce.html

edit And you do know that JInternalFrames should be added to a JDesktopPane, or don't you?
[ December 09, 2008: Message edited by: Darryl Burke ]

luck, db
There are no new questions, but there may be new answers.
kirtesh jain
Ranch Hand

Joined: Nov 15, 2008
Posts: 44
thanks for reply..
diff button means i am using more than one button so when i click another button....
and regarding Internal Frame yes i am using on top of Desktop pane only....
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19693
    
  20

So you meant a different button?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in combo box