-
JPanel + JToggleButton problem help plz
Hey, I am creating a java program for a class project that uses toggle buttons contained in lists that are then visually represented inside JPanels.
here is a link to the source
http://home.comcast.net/~vegeto9453/newframe.txt
In my project I am trying to move selected toggle buttons from the startPanel to the endPanel with the use of a JButton. This works fine if i move down the buttons in startPanel, ie 1 then 2 then 3 and so on. If however i try to go 6 then 5 then 4 or add in any button that is before the last one i added there is a problem in the gui. I have debugged and all of the buttons are in the right place in the arraylist and they all have the correct positions, some of them are just not showing up in the endPanel. If anyone has a solution to this or and suggestions it would be greatly appreciated.
TIA
Similar Threads
-
By digital_trex in forum Java
Replies: 2
Last Post: 08-31-2005, 01:30 PM
-
By rrbrambley in forum Java
Replies: 1
Last Post: 07-24-2005, 02:25 AM
-
By vikassheelgupta in forum Java
Replies: 0
Last Post: 07-22-2005, 05:35 AM
-
Replies: 0
Last Post: 12-13-2001, 12:06 PM
-
By Wade Balzer in forum VB Classic
Replies: 0
Last Post: 06-23-2000, 02:17 PM
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