2 Replies - 498 Views - Last Post: 06 March 2015 - 05:40 PM Rate Topic: -----

#1 psychlibsci  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 06-March 15

Help with Netbeans and Main Class

Posted 06 March 2015 - 04:40 PM

Dear DreaminCode,

I just got started learning Java programming, and I decided to use NetBeans as my IDE....I'm having a lot of issues with Classes, Main Classes, and the way the program works in general.

I've recorded a youtube video that explains my problem. All help is appreciated.

Help with NetBeans and Main Class

Thank you,
Joshua

Is This A Good Question/Topic? 0
  • +

Replies To: Help with Netbeans and Main Class

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 14036
  • View blog
  • Posts: 56,156
  • Joined: 12-June 08

Re: Help with Netbeans and Main Class

Posted 06 March 2015 - 04:55 PM

How about you post your current code and explain what problems/errors you are having.
Was This Post Helpful? 0
  • +
  • -

#3 psychlibsci  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 06-March 15

Re: Help with Netbeans and Main Class

Posted 06 March 2015 - 05:40 PM

Hi, Modi.

Here is a section of the code:

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author joshlipovetsky
 */
public class Love {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
    }
    
}



The problem is that I have no main class, and I cannot create it. Also, I am operating in the Test Packages folder, as seen in the video, and I can't create the Source Package without completely scrapping the project.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1