Java Calculator runs in BlueJ but not in Eclipse

hi, i've written my calculator project in bluej and all works without issue but when i paste the code into eclipse it runs without error but the calculator frame doesn't appear. i'm new to eclipse (and java in general), am i missing something? any input would be appreciated thanks

Your main method is empty.
You need here at least to instantiate your CalcFrame class

public static void main(String[] args) {
new CalcFrame();
}

0

t38Author Commented: 2011-02-13

Thanks, that did it. i need to split this project into two classes, one for the gui and one for the actual calculations, i could do with some pointers on same but will post a seperate question, any advise would be appreciated. thanks again.