package Lab4;
import javax.swing.*;
import java.awt.event.*;
import java.awt.*;
public class GUI_Element implements ActionListener{
// Create a frame window
public static final int WIDTH = 500;
public static final int HEIGHT = 400;
public static final int NUMBER_OF_DIGITS = 30;
private JTextField ioField;
private double result = 0.0;
public GUI_Element () {
JFrame frame = new JFrame ("Mortgage Calculator");
frame.setSize (WIDTH, HEIGHT);
frame.setLayout(new GridLayout(7,1,10,10));
}
Okay so I have this java program written. i'm trying to build a GUI for the first time, so just a beginner at this and I'm using Netbeans.
I get this error on the class name GUI_Element
GUI_Element is not abstract and does not override abstract method actionPerformed in java.awt.event.ActionListener
Best practice when switching platforms is to always start fresh and install chipset drivers after reinstall to avoid any issues. I've yet to find a way to eliminate problems caused by this in the same way you can just DDU GPU drivers and switch. Would be nice if they could facilitate it.
Yeah the launcher is fine, but 400mb for the package of all the apps if you only want to use 1 or 2 isn't in my opinion, and seems totally unnecessary.
Though it's dumb as hell to say it's saving you $600 from MSRP when an m4 16GB/512 is $1,200
However what I've seen there isn't that much difference from m3 to m4, so $900 is a good deal!
Here, tell the nice policeman where in your body did Meta touch you, buddy...
Jokes aside, WhatsApp is a perfectly good IM service, so what's your problem with it?
"them forcing ads will make users use other platforms"
Will they? I'm willing to bet my life on the fact that people will just continue using WhatsApp as usual. Time will prove me right.
Question
careless_monkey
Okay so I have this java program written. i'm trying to build a GUI for the first time, so just a beginner at this and I'm using Netbeans.
I get this error on the class name GUI_Element
GUI_Element is not abstract and does not override abstract method actionPerformed in java.awt.event.ActionListener
I have no idea why I'm getting this error.
Please help
Link to comment
https://www.neowin.net/forum/topic/886128-java-gui-error-message/Share on other sites
10 answers to this question
Recommended Posts