Results 1 to 2 of 2
- 04-18-2011, 09:38 PM #1Member
- Join Date
- Apr 2011
- Rep Power
how to add to a panel from in a different class
isit possible to add a panel from one class to a panel in another class. the problem im facing is that i am creating a monopoly game, i have one class that displays the board and i have created a empty panel within that class, i also have a player class storing player info and i was wondering how to display the info ??
been stuck for hours... need help...:)
Yes it's possible but the details of the solution will depend on the details of the structure of your program.
- By warchieflll in forum Advanced JavaReplies: 2Last Post: 01-29-2011, 08:29 PM
- By LovJava in forum AWT / SwingReplies: 10Last Post: 09-02-2010, 08:43 PM
- By pahiker in forum AWT / SwingReplies: 1Last Post: 07-05-2010, 11:42 AM
- By rclausing in forum New To JavaReplies: 7Last Post: 02-02-2010, 05:56 AM
- By kumar_gemi in forum New To JavaReplies: 3Last Post: 03-13-2009, 02:51 AM