package stilltryin;
import java.awt.event.*;
import java.awt.*;
import javax.swing.*;
public class StillTryin{
frame();}
public void frame(){
JFrame f = new JFrame();
f.setVisible(true);
f.setSize(240,240);
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
public static void main(String[] args){
StillTryin();}}
I am getting multiple errors about Class, Interface, or Enum expected from this code, but it makes no sense to me,

New Topic/Question
Reply




MultiQuote




|