Results 1 to 2 of 2
  1. #1
    ryschaub is offline Member
    Join Date
    Nov 2015
    Location
    United States Of America
    Posts
    1
    Rep Power
    0

    Cool Basic JFrame Window For Beginners


    I thought I should help some of the newbies of Java into the world of GUIs! Here I had made a quick .jar file for a basic JFrame/Canvas window... It is 340x255 but it can be edited to be whatever you would like! Simply import the .jar into a Java editor like Eclipse or Codenvy.





    https://www.dropbox.com/s/iphxmbmssl...indow.jar?dl=0


  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    14,422
    Blog Entries
    7
    Rep Power
    28

    Default Re: Basic JFrame Window For Beginners

    The 'newbies' better not use that sloppy code. (e.g. why does your class extends from the Canvas class but you don't use that AWT component in a Swing application)

    Jos
    Build a wall around Donald Trump; I'll pay for it.

Similar Threads

  1. Reparent X11 window on a JFrame or a JPanel?
    By paranoia25 in forum Advanced Java
    Replies: 3
    Last Post: 08-06-2012, 10:43 AM
  2. Basic JFrame Usage
    By joatmon in forum AWT / Swing
    Replies: 4
    Last Post: 06-13-2012, 01:42 PM
  3. Replies: 1
    Last Post: 11-18-2010, 08:17 PM
  4. JFrame(window) not displaying at all
    By mojisolaowoeye in forum AWT / Swing
    Replies: 1
    Last Post: 07-02-2010, 01:03 PM
  5. How do i open JFrame in the same active window
    By Jkiller295 in forum AWT / Swing
    Replies: 35
    Last Post: 06-02-2010, 04:50 PM

Tags for this Thread

Posting Permissions

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