Create Java Console Inside a Gui Panel

how to show output console in GUI using Java Netbeans

Replace the calls to System.out.println with jTextArea1.append where jTextArea1 is the name of whatever that TextArea is in your interface. You may also want to add a \n to end of each string.

Creating a console in Java

Perhaps you're trying to get the console by double-clicking in the jar

Try creating a batch file that opens the console for you.

You can however create a console using Swing and redirect standard input/output there.

Source: Create Java console inside a GUI panel



Related Topics



Leave a reply



Submit