Forums Register Login
Panel display
Hi All,

Sorry to post again, but this problem is driving me nuts. I can't figure it out. I have 2 classes (code below); one extends JPanel & creates a panel which arranges gif's into an LED 'figure of 8' configuration. This class has a method updateLED( int ) which allows the user to specify which bars of the LED are on/off etc so they can output characters in LED format. The second class is supposed to create a panel of 8 LED's so that words can be formed on the LED display. But, the LEDPanel code only outputs one of the 8 LED's. Incidentally, it is the last LED that gets displayed. And it displays on the far right of the LEDPanel window suggesting that room is made for the previous 7, but they got lost along the way somewhere. Can anyone tell me what i'm doing wrong? Or is there an easier way to change gifs in a panel based on user input?

Thanks again guys,

Closing this since Dirk moved a duplicate with some responses here.
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards

Reply locked
This thread has been viewed 1244 times.

All times above are in ranch (not your local) time.
The current ranch time is
Mar 23, 2018 11:04:44.