It's not a secret anymore!*
The moose likes Swing / AWT / SWT and the fly likes want to make it an application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "want to make it an application " Watch "want to make it an application " New topic
Author

want to make it an application

abhay jain
Ranch Hand

Joined: Jun 03, 2011
Posts: 130
i saw this example in a book i would like to make it an application program ( main method as starting point )
i have tried a lot but did not get success .. can you please help me ?






i don't know that in which section i should put this post
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10451
    
    8

Change JApplet->JFrame
Change init to constructor
Write a main method which will create and show the frame instance


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: want to make it an application