Simple Paint Program


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Simple Paint Program

  1. #1
    Join Date
    Apr 2005
    Posts
    4

    Simple Paint Program

    Would it be best to design a simple painting (freedraw now, adding shapes and other features later) program for an applet or an application?

    If I did an applet, I don't want to have to run an html file. Can you set JEditorPane to a html file with your Java applet? That's what I'm trying now, but no luck.

    Also, any links to free draw examples would be greatly appreciated. Thank you.

  2. #2
    Join Date
    Sep 2004
    Posts
    223
    I would do it in an application, if you want to do it as an applet then you must use it within a html file, you cant get around this.

    I enjoyed doing paint programs, its good to get your head around the idea of painting and such, as well as the mouse interface.

    good luck.

    http://leepoint.net/notes-java/45exa...paintdemo.html
    A kram a day keeps the doctor......guessing

  3. #3
    Join Date
    Nov 2004
    Location
    Norway
    Posts
    1,560

    I just couldn't resist..

    I hacked in a color chooser for the PaintDemo ...
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center