Hello,
I am trying to show a shape in the Javax.swing.JFr ame package. I am using a frame to show it, but I can not get the add method to work. Can someone give me a good example of adding something to a frame with an add method. My code looks like the following:
frame.add(compo nent);
I get an error message when trying to add the component to the frame. Any suggestions please....
I am trying to show a shape in the Javax.swing.JFr ame package. I am using a frame to show it, but I can not get the add method to work. Can someone give me a good example of adding something to a frame with an add method. My code looks like the following:
frame.add(compo nent);
I get an error message when trying to add the component to the frame. Any suggestions please....
Comment