Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Java paint application

Loading...

Sign in or sign up now!
7,134
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 8, 2008

/*--------------------------------------------------------------------------
DrawLine class
*****************
By: deAppel http://www.engineeringserver.com - http://www.javaforums.net
Contact: info [@] engineeringserver.com
Version: 29/July/2008
Last updated: 07/August/2008 - V2.0

07/August/2008
- save drawing
-- BUG. load only works when saved first, i'm working for a fix but it partially works :)
- cleaned the code a bit, but still a mess
- flickering gone
- implemented partial anti aliasing
- support links added :) , do NOT remove my links! , you can add your own but do NOT remove mine if you are
planning to release your own version.

%working on
- save/load bug fix obviously
- implement multiplayer paint
- drawing sharing

06/August/2008
- added colors
- undo function
- clear drawing panel
- line thickness

29/July/2008
- initial application
*****************
Note: a very basic paint application by HappyFace / deAppel (One person, two names ;P)
//----------------------------------------------------------------------*/

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 5 dislikes

Link to this comment:

Share to:

Top Comments

  • nice dragon ball background song.. ^^ takes me back to early 90's..hehe

  • how about some source code / tutorials on this? would be helpful...

see all

All Comments (10)

Sign In or Sign Up now to post a comment!
  • @MPHorndrup sorry for that my friend writed this comment he's a dumb ass ! And i agree Java is more portable !

  • @legsmacgee Well good sir that depends really much on how you do it. I agree that Java2D is slow because of it's software rendering, but a lot can be accomplished with proper code.

  • @TheDslide Why should it be c++? Java is just as fast, and it's way more portable. Oh, and it's higher level which makes it more logical to implement large applications in it..

  • To improve this, you could start by drawing an oval of the correct size on mouseDown, and then when the mouse is dragged you could start drawing a line with line2d. Due to javas speed, you won't get a solid line if you try to draw quickly using the oval method exclusively.

  • nicenice

  • Mooi man:O

  • hjhhugvuyfroufsww4eawqWQwq

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more