1

JFrame does not work (Ubuntu 12.04)

view story
linux-howto

http://ubuntuforums.org – Hello, I am running Ubuntu 12.04 with JDK 7 installed. My IDE is Geany. I am trying to run a simple JFrame window, nothing too complex. Here is my code for that: Code: // JFirstFrame.java import javax.swing    .*; import java.awt      .*; import java.awt.event .*; public class JFirstFrame extends JFrame {         public JFirstFrame()         {                 int Row,Col;                 Toolkit MyKit = Toolkit.getDefaultToo (Hardware)