x
login register about faq

interaction between classes

not sure how to use this site yet? is there a way to post code? anyway the object is to create a display based upon data retrieved from a mysql database of books, i started by creating a JFrame i am then using BorderLayout to place five JPanels on it on one of these panels i place a picture on south panel some JButtons everything is in the 1 class so i would like to create seperate classes to say creaet the buttons and cope with everyting relating to buttons so i started over having a class to create the JFrame and other class for the JPanels but i have got stuck as i can not figure out how to pass the panels to the JFrame class so the will be displayed as before once i have the solution to this i can then go on to create other classes and get each section to do as required

more ▼

asked Sep 04, 2012 at 08:35 AM

EducatedMonkey gravatar image

EducatedMonkey
2 4 5 4

(comments are locked)
10|600 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1
x1

asked: Sep 04, 2012 at 08:35 AM

Seen: 1305 times

Last Updated: Sep 04, 2012 at 08:35 AM