Results 1 to 5 of 5

Thread: JDesktopPane help!

Threaded View

  1. #1

    Thread Starter
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418

    Resolved JDesktopPane help!

    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 .
    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); 
      }
     }

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width