wood burning stoves 2.0*
The moose likes Java in General and the fly likes well did as below but BUTTONS NOT Appear only the image plays continuesly, well Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "well did as below but BUTTONS NOT Appear only the image plays continuesly, well" Watch "well did as below but BUTTONS NOT Appear only the image plays continuesly, well" New topic
Author

well did as below but BUTTONS NOT Appear only the image plays continuesly, well

Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403
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 );//??
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

I couldn't even read the code for all the comments :(
Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403
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)...

window.add( animation2.animation, BorderLayout.CENTER ); // add panel to frame LogoAnimatorMain.java
window.add( animation2 , BorderLayout.SOUTH ); //LogoAnimatorMain.java

I do NOT find better way, static comes with many errors and is difficult...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: well did as below but BUTTONS NOT Appear only the image plays continuesly, well