All I want to do is making a simple Java app. This is ALL the code to it:
import javax.swing.JOptionPane;
public class untitled {
public static void main(String[] args) {
JOptionPane.showMessageDialog(null, "Hey", "There", JOptionPane.INFORMATION_MESSAGE);
System.exit(0);
}
}
Using Project Builder in Jaguar..
If I make an Empty project and create a new Pure Java file within that project with the above code, that's all I should need to do right?
If I do it like that, it won't let me build at all. All the options to build or compile are dimmed out (unavailable).
If I instead make a new project that is a "Java Swing Application", it will make a whollle lotta files for resources and icons and applications in my project folder, AND a java file with all kinds of stuff I don't really know (I'm learning java atm).
If I put my code into THAT java file I can build and run.
Why can't I just make an empty project + pure java file and compile that?
import javax.swing.JOptionPane;
public class untitled {
public static void main(String[] args) {
JOptionPane.showMessageDialog(null, "Hey", "There", JOptionPane.INFORMATION_MESSAGE);
System.exit(0);
}
}
Using Project Builder in Jaguar..
If I make an Empty project and create a new Pure Java file within that project with the above code, that's all I should need to do right?
If I do it like that, it won't let me build at all. All the options to build or compile are dimmed out (unavailable).
If I instead make a new project that is a "Java Swing Application", it will make a whollle lotta files for resources and icons and applications in my project folder, AND a java file with all kinds of stuff I don't really know (I'm learning java atm).
If I put my code into THAT java file I can build and run.
Why can't I just make an empty project + pure java file and compile that?