java - Partially Updatable JFrame -


i'm trying make building game (~age of empire :). so, want write program divides jframe (containing map of game) squares. allows every square of frame modified (to contain image). example, want put image in square (1,1), add image in square (4,2) , keep image had in square (1,1).

how can done?

to inside jframe use gridlayout, create control match square on map (for use jlabel or jbutton) , add them screen.

i can't recommend using swing developing game though, you'd better off looking 1 of many 2d (or 3d) matter game engines out there. allow more impressive results , of work you.


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

Bubble Sort Manually a Linked List in Java -

asp.net mvc - SSO between MVCForum and Umbraco7 -