| Author |
Images do not display correctly
|
celine mcgowan
Ranch Hand
Joined: Nov 22, 2003
Posts: 36
|
|
Hi Everyone, I'm a bit of a newbie & i'm trying to implement an LED display. I have 4 .gif's to represent the 'bars' of an LED - vertical & horizontal, lit & unlit. I've started by trying to organise the 7 'bars' in a GridLayout , but when i run this code, i just get two of the bars displaying in the window - one Horizontal & one Vertical.... Can anyone tell me where i'm going wrong? I'd really appreciate any help at all. Thanks a million, Celine
|
We've heard that a million monkeys at a million keyboards would eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true.<br />- Robert Wilensky
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8264
|
|
Originally posted by celine mcgowan:
For starters, your GridLayout has one row and two columns. That gives you two slots to display components in.
|
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
|
 |
celine mcgowan
Ranch Hand
Joined: Nov 22, 2003
Posts: 36
|
|
Hi Joe, Thanks a million for your help. I actually got this by creating two panels with border layouts & making two 'squares' from them. I then made another panel and added the two squares to it, so i have a nice 'figure of eight' pattern on the screen. Thanks again! Celine
|
 |
 |
|
|
subject: Images do not display correctly
|
|
|