//small program for displaying buttons etc. on image existing on frame
import java.awt.*;
import javax.swing.*;
class javalang extends JFrame
{
JLabel l1,l2,l3;
JPanel p;
...
Type: Posts; User: ChandanSharma
//small program for displaying buttons etc. on image existing on frame
import java.awt.*;
import javax.swing.*;
class javalang extends JFrame
{
JLabel l1,l2,l3;
JPanel p;
...
Thanks
i looked at the variables.i got the mistake,was some simple error,i created the object of 'font' but didn't initialize it carelessly using new due to which 'ok' contained null.
1)if i have...
This line contains font "ok.setFont(o)"
1)Where
"ok" is a button on 1 of the frames .
2)o is object of font class
"Font o=new Font("Lucida...
Hi everyone. I am a newbie and a working on a mini project. Need Help.
a)While running one of my program, I encountered this error (marked in red)
b) As per output problem lies in line number...