I decided to start a new project but i haven't coded a gui in a while. I've been trying to use a JDesktopPane but when i create a new instance of it, set it's size then visibility i get nothing :confused:.
Code:import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
public class Test{
public static void main(String[] args) {
JDesktopPane jdp = new JDesktopPane();
jdp.setSize(600,600);
jdp.setVisible(true);
}
}
