blackblood357
March 11th, 2010, 02:38 PM
Pls help me..this our class exercise #3
I'm making a program using java now..and my compiler i think is not updated..i think it does not contain a library for jframe..
The terminal displayed:
jcalbances@RKOXP:~/Desktop/B3$ javac Calculator.java
Calculator.java:4: warning: The serializable class Calculator does not declare a static final serialVersionUID field of type long
public class Calculator extends JFrame {
^^^^^^^^^^
Calculator.java:56: warning: The static field SwingConstants.VERTICAL should be accessed directly
JToolBar vertical = new JToolBar(JToolBar.VERTICAL);
^^^^^^^^
2 problems (2 warnings)
I'm making a program using java now..and my compiler i think is not updated..i think it does not contain a library for jframe..
The terminal displayed:
jcalbances@RKOXP:~/Desktop/B3$ javac Calculator.java
Calculator.java:4: warning: The serializable class Calculator does not declare a static final serialVersionUID field of type long
public class Calculator extends JFrame {
^^^^^^^^^^
Calculator.java:56: warning: The static field SwingConstants.VERTICAL should be accessed directly
JToolBar vertical = new JToolBar(JToolBar.VERTICAL);
^^^^^^^^
2 problems (2 warnings)