View Single Post
  #7 (permalink)  
Old 11-02-2007, 03:15 PM
JavaBean's Avatar
JavaBean JavaBean is offline
Moderator
 
Join Date: May 2007
Posts: 1,272
JavaBean is on a distinguished road
You can download the image too. Append that relative path to the path of the applet and download image with your browser.

You will not run RoundButton, it is an auxiliary class. You will run applet class using appletviewer.exe! But appletviewer uses html as parameter so you will need to download html file and modify it to point to the local path...

I recommend you to create a very simple swing application using that RoundButton. Just write your JFrame with a regular JButton. Once yo uare sure that it is working, place RoundButton to the same directory, replace JButton words with RoundButton, recompile and rerun to see the result. That might be easier for you if you did not develop an applet before.

Last edited by JavaBean : 11-02-2007 at 03:18 PM.
Reply With Quote