well did as below but BUTTONS NOT Appear only the image plays continuesly, well
Leonidas Savvides
Ranch Hand
Joined: Jan 31, 2010
Posts: 397
posted
0
I HAVE 3 JAVA FILES [J SE], one main and two panels , and I want to refer the two panels in main AND the one panel ALSO in the other panel, rather is very complecated do static methods, well did as below but BUTTONS NOT Appear only the image plays continuesly, well???
there is one /images/ folder in the files.java folder...
this line like no called: window.add( animation2 , BorderLayout.SOUTH );//??
I couldn't even read the code for all the comments :(
Leonidas Savvides
Ranch Hand
Joined: Jan 31, 2010
Posts: 397
posted
0
I modified code , do not look in comments,
this line like no called: window.add( animation2 , BorderLayout.SOUTH );//?? line27 //LogoAnimatorMain.java
>>>
LogoAnimator animation2 = new LogoAnimator(); contains a call to //LogoAnimatorMain.java
LogoAnimatorJPanel animation = new LogoAnimatorJPanel(); // LogoAnimator.java
so first called directly(no appear), and latter called indirecrtly(appear)...