wood burning stoves 2.0*
The moose likes Java in General and the fly likes set pixel in frame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "set pixel in frame" Watch "set pixel in frame" New topic
Author

set pixel in frame

Tian Zhang
Greenhorn

Joined: Mar 23, 2005
Posts: 24
hi there!

i have a class that extends JFrame, i was wondering if it is possible to set (draw) individual pixels within the frame, i.e. something that looks like:



at the moment i'm considering (which is probably inefficient):




thanks,
tian.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: set pixel in frame