Results 1 to 3 of 3

Thread: Java Graphic

  1. #1
    Albion is offline Member
    Join Date
    Dec 2011
    Rep Power

    Default Java Graphic

    How can i make a graphic in java like this photo in the link below
    ImageShack® - Online Photo and Video Hosting
    Attached Thumbnails Attached Thumbnails Java Graphic-untitled.png  

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Eastern Florida
    Rep Power

    Default Re: Java Graphic

    Override the paintComponent() method in JPanel and call the Graphics class's drawRect method several times.

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

    Default Re: Java Graphic

    Or write a custom Icon implementation and display it in a JLabel.

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

Similar Threads

  1. Zoom on graphic
    By onephenom in forum Java 2D
    Replies: 1
    Last Post: 03-24-2010, 09:52 PM
  2. Java ACM graphic program help
    By jimmy-lin in forum New To Java
    Replies: 0
    Last Post: 11-16-2009, 05:40 AM
  3. Graphic library
    By xeannart in forum Advanced Java
    Replies: 6
    Last Post: 07-14-2008, 03:36 AM
  4. Basic Graphic
    By jkswebsite in forum Java 2D
    Replies: 6
    Last Post: 11-26-2007, 03:19 AM
  5. How do insert a Graphic
    By carl in forum New To Java
    Replies: 1
    Last Post: 08-01-2007, 06:30 AM

Posting Permissions

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