I have a basic understanding of Java Swing, I know about JFrame
and JPanel
. the problem is : Yesterday I started to write a Simple Desktop Application in Netbeans
, I created a SingleFrameApplication, Netbeans created few classes for me one of them that contained main method was public class ShamsApp extends SingleFrameApplication
and the other which was a view class public class ShamsView extends FrameView
. Everything was fine until I tried to add a new JPanel to my application, at that point i found out that I can't add this JPanel
to any of these classes, because none of them is a JFrame
instance , so the questions raised, what are FrameView and SingleFrameApplication anyway? are they standard Swing JComponents? is it appropriate to ask questions like JPanel Vs FrameView
? Or it is nonsense? Would you please enlighten me and future googlers?
Asked
Active
Viewed 5,689 times
2
-
3`org.jdesktop.application.SingleFrameApplication` -> it's not standard swing but a jdesktop component. – Thomas Sep 21 '11 at 08:53