View Single Post
  #3 (permalink)  
Old 04-24-2008, 07:56 PM
iamchoilan iamchoilan is offline
Member
 
Join Date: Apr 2008
Posts: 9
iamchoilan is on a distinguished road
Quote:
Originally Posted by hardwired View Post
Yes. You can find out about buttons, listeners and dialogs here: Trail: Creating a GUI with JFC/Swing. For the grid and plotting data use a JPanel, override the/its paintComponent method and do your custom drawing in it. For more about drawing see the last link (Performing Custom Painting) on the page (link above) and also the first link under the Other UI-Related Trails header, viz, "2D Graphics".

Yes. Draw the background image first and then draw your grid.
I want that graph to pop up in another window though


How do I draw that background image into the program ?
Reply With Quote