User Profile
Collapse
-
How to add GUI to aplication?
Is there any easy way to add Graphical User Interface to java aplication? and make it look like applet? so I dont need to rewrite all the code. Thank you -
How to fix this?
hi all,
After compiling I recieve this msg:
Note: C:\Documents and Settings\Evalda s\Desktop\moksl as\JAVA 2kursas\bandyma s\sample5.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecati on for details.
Tool completed successfully
and I can't run an applet. Whats wrong?
Thats a code :
import java.awt.*;
import java.awt.event. *;
import javax.swing.*;... -
Statistics program
Hello guys,
Need any advise, any tip on how to write this program:(coz I'm really stuck with this)
1. Allow a user to enter a number of results (a value between 2 & 30)
2. Process the required number of results by
• Allowing a user to enter a students name
• Allowing a user to enter a students grade (a value between 1 & 100).
3. When data entry is complete,... -
Thank you very much guys. Spend hours looking for error. And it was just spelling. Thank you.... -
C:\Documents and Settings\Evalda s\Desktop\moksl as\JAVA 2kursas\L2\L2cu bemethod.java:5 : L2cubemethod is not abstract and does not override abstract method actionPerformed (java.awt.event .ActionEvent) in java.awt.event. ActionListener
public class L2cubemethod extends Applet implements ActionListener
^
1 error
Tool completed with exit code 1
I think file name I saved is the same:" L2cubemethod.ja va"...Leave a comment:
-
java problem, need help please
I'm getting this message:
"C:\Documen ts and Settings\Evalda s\Desktop\moksl as\JAVA 2kursas\L2\cube method.java:5: class L2cubemethod is public, should be declared in a file named L2cubemethod.ja va
public class L2cubemethod extends Applet implements ActionListener"
Can please someone explain whats wrong with this program?:
[CODE=java]import java.applet.App let;
import java.awt.*;
import...
No activity results to display
Show More
Leave a comment: