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

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -