File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Problem in combo box" Watch "Problem in combo box" New topic

Problem in combo box

kirtesh jain
Ranch Hand

Joined: Nov 15, 2008
Posts: 44
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

Joined: May 03, 2008
Posts: 5115

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.


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

Joined: Oct 27, 2005
Posts: 20279

So you meant a different button?

How To Ask Questions How To Answer Questions
I agree. Here's the link:
subject: Problem in combo box
It's not a secret anymore!