r/javahelp • u/overflow_ • Jun 22 '20
How do I open a jpanel from within a jframe?
Ive tried MyFrame.add(Mypanel); but that doesn’t do anything
0
Upvotes
r/javahelp • u/overflow_ • Jun 22 '20
Ive tried MyFrame.add(Mypanel); but that doesn’t do anything
1
u/[deleted] Jun 23 '20
https://stackoverflow.com/questions/6486857/java-ways-to-fill-a-frame-add-setcontentpane-getcontentpane
look at what Alan says