Skip to content
Advertisement

Tag: swing

Java Linux Terminal in JPanel

I am making a Scripting Editor and would like to be able to run the Bash/Shell/Python/etc. scripts in the program… So far, I have a way of running them, but there is no way for the scripts to have user input; here’s the code: Any help/ideas are greatly appreciated!!! Answer This is a modification of my previous answer to a

java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit

I’m working on XUbuntu 13.04 and developing swing applications. As I just wanted to try that application I ran into java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit on startup. I’ve found several questions about server/client vms and noticed that I have a server VM and that for Linux 64 there is no client VM anymore. But nevertheless IMHO this problem shouldn’t

NetBeans GUI builder: “loading…” message

Sample project from the NetBeans tutorials set contains only one Swing form (empty JFrame), compiles and runs fine, but I can’t change layout of the form and add elements in it with the NetBeans GUI buider since it shows only empty placeholder with single “loading…” message. Any clues how to fix it would be highly appreciated. Kubuntu 12.04, Openjdk 1.7,

Advertisement