resize graphics2d

T

tiewknvc9

HI

I have created a graphics2d object, and what I would like to do is
shrink it to half its size.

I tried using graphics2d.scale(.5,.5), but it just makes the object
disapear from the jpanel...

any ideas?
 
K

Knute Johnson

tiewknvc9 said:
HI

I have created a graphics2d object, and what I would like to do is
shrink it to half its size.

I tried using graphics2d.scale(.5,.5), but it just makes the object
disapear from the jpanel...

any ideas?
We need to see some code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,262
Messages
2,571,056
Members
48,769
Latest member
Clifft

Latest Threads

Top