File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Console application in NetBeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Console application in NetBeans" Watch "Console application in NetBeans" New topic

Console application in NetBeans

D Rog
Ranch Hand

Joined: Feb 07, 2004
Posts: 472

I'm starting to help my daughter to study Java. We just visited Sun's web site and downloaded NetBeans. She quickly pasted a program she did in a class. And what's a shame. The program used some terminal class to get user input (no question Mac environment was used in a class). I just changed a bit the program to use The program imeddiatly crashed after start. It seems is in just closed condition. Why? How to write console applications in NetBeans? I like this IDE (I never used it before and it seems to neat, but can't do so simple things). Any help for poor father and daughter.

Retire your iPod and start with HD Android music player Kamerton | Minimal J2EE container is here | Light weight full J2EE stack | and build tool | Co-author of "Windows programming in Turbo Pascal"
Abdullah Arslan

Joined: Apr 24, 2005
Posts: 13
i think you run program in ide.
if so, you must run that in windows consol with java command.

or try to get parameters as
// Modal dialog with OK/cancel and a text field
String text = JOptionPane.showInputDialog(frame, message);
if (text == null) {
// User clicked cancel
I agree. Here's the link:
subject: Console application in NetBeans
It's not a secret anymore!