Results 1 to 3 of 3
  1. #1
    batya is offline Member
    Join Date
    Nov 2009
    Posts
    4
    Rep Power
    0

    Question How can I change the main class of a project?

    I opened Desktop application and work on the given frame there..now I want that when I run the application, it's will start run from another JFrame that I writed and not from the class that was otomatic opened when I open a new project..so, how I can change it?

  2. #2
    zweibieren is offline Senior Member
    Join Date
    Aug 2009
    Location
    Pittsburgh, PA
    Posts
    284
    Rep Power
    6

    Default

    What Java builder/IDE or you using?
    Most builders have a way to change the "properties" of a project.
    These include setting which class is first to be executed.

  3. #3
    batya is offline Member
    Join Date
    Nov 2009
    Posts
    4
    Rep Power
    0

    Default

    I have JDK 6.7.1
    now I see it in the properties of the project
    thanks!

Similar Threads

  1. Replies: 6
    Last Post: 05-18-2010, 05:11 PM
  2. change value in the in the creator class
    By livnihai in forum New To Java
    Replies: 8
    Last Post: 10-07-2009, 06:14 AM
  3. Replies: 1
    Last Post: 06-30-2009, 02:32 PM
  4. different multiple public class and main class
    By mr idiot in forum New To Java
    Replies: 2
    Last Post: 01-01-2009, 12:10 PM
  5. How to create main class link to another two class?
    By pearllymary78 in forum New To Java
    Replies: 6
    Last Post: 07-16-2008, 11:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •