This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 4523

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: 19655

So you meant a different button?

How To Ask Questions How To Answer Questions
jQuery in Action, 2nd edition
subject: Problem in combo box
Similar Threads
getting jcombobox mouse over value
Adding components dynamically to a nested JPanel
JWindow & Focus
Animated Gif