File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Leonidas Savvides
Ranch Hand
Posts: 403
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I couldn't even read the code for all the comments :(
 
Leonidas Savvides
Ranch Hand
Posts: 403
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic