This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Applets and the fly likes New College Project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "New College Project" Watch "New College Project" New topic
Author

New College Project

Roberto Favaro
Greenhorn

Joined: Mar 23, 2004
Posts: 24
Workin on a college project involving line clipping of a shape.Here's my work in progress.I want to add a few extras but cant think where to start.Any suggestions appreciated.Tnx in advance


Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41035
    
  43
That's a fair amount of code. Tell us what it does, and how that is different from what you want it to do. Is it a Java problem, or an algorithm problem, or something else?


Ping & DNS - my free Android networking tools app
Roberto Favaro
Greenhorn

Joined: Mar 23, 2004
Posts: 24
A rectangle is created in the centre of the window and filled in colour.I may use any click to draw and drag a line on the screen.A line will only be remembered as it is released across the varierents of the rectangle.The line is clipped in size to remember the piece within or partially within the rectangle
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: New College Project
 
Similar Threads
Ball Physics implementation.
drawRect() issues
How to make rectangle drawn to be vissible when a new rectangle is drawn
Problem with GUI
Drawing a Diamond Shape (like Rectangle, Circle)