Results 1 to 2 of 2
  1. #1
    modo91 is offline Member
    Join Date
    Apr 2012
    Rep Power

    Default Draw line 3 classes

    Hello everyone, I'm new user. My problem is that I can not see the line in JPanel.
    Let me explain, I use NetBeans, so I create a JFrame from, JPanel from and class line, then I add the JPanel to the JFrame I just built. JFrame and more with a jbotton for class will call the line, in tottale there are 3 distinct classes or files.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    Default Re: Draw line 3 classes

    Dump that visual designer, it's not a beginners' tool. Learn Swing coding from the Tutorial Trail: Creating a GUI With JFC/Swing (The Java™ Tutorials)

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. How to draw a line?
    By Lund01 in forum New To Java
    Replies: 9
    Last Post: 10-27-2011, 06:09 PM
  2. How to draw line with animation
    By hnchnc in forum Java 2D
    Replies: 1
    Last Post: 11-18-2010, 10:49 PM
  3. Draw line
    By janes in forum Java 2D
    Replies: 6
    Last Post: 03-25-2010, 10:48 PM
  4. Draw more than one line on run time
    By aiman in forum Java Applets
    Replies: 3
    Last Post: 12-10-2009, 02:44 AM
  5. How to draw a thick line
    By johnt in forum Java 2D
    Replies: 1
    Last Post: 05-31-2007, 04:27 PM

Posting Permissions

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