Ask your own question, for FREE!
Computer Science 8 Online
OpenStudy (woodrow73):

In Java I learned how to create a JFrame which opens up a Jpeg picture from the computer. In my program I need 2 JFrames to open up preferably next to each other, not ontop of eachother. How would I go about this?

OpenStudy (e.mccormick):

Have you looked into the layout managers?

OpenStudy (woodrow73):

I have yet to, thanks for the suggestion- I'll look into them.

OpenStudy (e.mccormick):

Look at flow: https://docs.oracle.com/javase/tutorial/uiswing/layout/visual.html

OpenStudy (woodrow73):

SpringLayout looks perfect for my needs; many thanks!

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!