2009-05-09 08:31:13 UTC
then I have a nice set of JFrames I can display..
now I have a class called GraphicMaster that is a swing form... using netbeans I can just throw in a bunch of little objects and add events.. that's nice. but when I tried displaying my images on a JPanel it just didn't show them..
so I know how to draw an image on a Graphics.. just g.drawImage(bla).
but what I need to know is how to create a Graphics that can actually
draw things on a specific JFrame...
I know how to send Graphics around- you just void bla(Graphics g)
but that doesn't really help in the whole term since I don't know how to
initialize that Graphics in the first place.
so if you could tell me how to make a Graphics on a specific JFrame that's already been created, that would be nice.
please don't just say- "go to imadipshit.com and all your needs to be met."
I need a very real code example.
Thanks so much, your help is greatly appreciated.