File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in combo box

 
kirtesh jain
Ranch Hand
Posts: 44
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5115
11
Java Netbeans IDE Opera
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
kirtesh jain
Ranch Hand
Posts: 44
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 20381
46
Chrome Eclipse IDE Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So you meant a different button?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic