A
Ahsan Rabbani
I've searched hours for this but can't seem to find how to do this
anywhere.. Please help me out if anyone knows how I can do this..
If I have the following code, how can I display lets say, "icon.gif"
at (200,300)?
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class RoundTableGUI {
public static void main(String[] args) {
JFrame gui = new JFrame("RoundTableWorld");
gui.setSize(500,500);
gui.setLocation(60,60);
gui.setVisible(true);
gui.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}
}
I'd appreciate any help, thanks.
anywhere.. Please help me out if anyone knows how I can do this..
If I have the following code, how can I display lets say, "icon.gif"
at (200,300)?
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class RoundTableGUI {
public static void main(String[] args) {
JFrame gui = new JFrame("RoundTableWorld");
gui.setSize(500,500);
gui.setLocation(60,60);
gui.setVisible(true);
gui.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}
}
I'd appreciate any help, thanks.