JFrame code compiles and runs, but does not open window
问题 Here you will see my code: I am just trying to make a little window that displays "Hello, Java!". I am currently running on Ubuntu 14.04. To go more in depth with my problem, the icon with the coffee cup shows up when I run the program like there is a window, but there is not window attached to it and if clicked, no window pops up. Any help would be much appreciated! public class HelloJava1 extends javax.swing.JComponent { public static void main(String[] args) { javax.swing.JFrame f = new