-
Problem with JComboBox in JApplet
Hello,
I really need help in this issue, it goes like this, I have a JApplet and attached to it is a JPanel, i have added a JComboBox to this panel , but the main problem is that it is not showing on the Applet when it first loads, but when i navigate to other panels present in the aplet and get back to the combobox panel then it is visible, Am i doing some thing wrong here as i cannot figure out what the problem is, I have used the regular code to create the Jcombobox as this works with the JFrame (I have tested it), but it does not work with JApplet.
Hope any one of you can help me out with this :-)
Thanks in Advance
-
The problem is most likely in the location in your code you add the combobax to the panel. You need to first add the combobox to the panel, and then add the panel to the applet. after you have done this, you need ot make the whole applet visible. If you start by making the pplet visible, the rest of the changes might not be shown
-
If that is not the solution you should check your layoutmanagement and sizing
of the components.
eschew obfuscation
-
Thanks
Thanks , for the solution, That works..............
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks