swing - I want to have a JPanel with both a Java 2d Graphics Section and a JComponent Section at the bottom -
this tower defense game , want top section map , objects drawn in 300x200 panel , bottom 300x100 panel multiple jbuttons , jlabels. how this. have used swing long time don't know how separate graphics part other components.
i suggest putting 2 jpanels inside main jpanel. top 1 map , objects, , bottom 1 contain jbuttons , jlabels. remember set appropriate layoutmanager main jpanel.
Comments
Post a Comment