Best advice, play around with non-GUI related things in your free time. Try to grab a good understanding of the language prior to going really indepth with GUIs because there is alot of overhead in...
Type: Posts; User: aussiemcgr
Best advice, play around with non-GUI related things in your free time. Try to grab a good understanding of the language prior to going really indepth with GUIs because there is alot of overhead in...
Ok, there are some fundamental issues here. This code does compile:
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
public class WordPlay extends JPanel implements...
I would say it cant compile.
if(source == doubleButton){
display.setText(textField.getText(Double));
}
textField.getText(Double) should be attempting to call the getText method of JTextField....