public class Jay {
public void Jay_Program() {
Image image = Toolkit.getDefaultToolkit().getImage("\\logo.png");
frame = new JFrame(");
frame.setIconImage(image);
frame.setSize(698, 500);
frame.setLocationRelativeTo(null);
frame.setVisible(true);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}
}
How can I call this from from another class ? :confused:


Sign In
Create Account


Back to top









