First tryes with JLabel, i need a bit of a help.

Hello,

I have a java hobby, a hobby site for my boardgames, my current boards are with AWT and Bufferedimages on BStrategy(2).

Now i have quite a well understood AWT at hands, so i will go studying SWING.

My current board is at bstrategy and board can be 1920x1200, thats my canvas maximium bounds.

If i set an JLabel to size 1920x1200, and then keep changing that JLABEL when my board graphics change, this is everytime a player will make a move.

How will all hardware accelerations and everything work with JLABEL, how often it is ok, to change the imageicon of JLABEL ?

I suggest to start reading this
http://docs.oracle.com/javase/tutorial/uiswing/

All swing component are double buffered so you don’t need to worry about hardware accelerations

You are, for the millionth time, worrying too much about performance! Write it first, then if there is a performance penalty, come and ask us about it :slight_smile: