Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > resize graphics2d

Reply
Thread Tools

resize graphics2d

 
 
tiewknvc9
Guest
Posts: n/a
 
      02-04-2006
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?

 
Reply With Quote
 
 
 
 
Knute Johnson
Guest
Posts: n/a
 
      02-04-2006
tiewknvc9 wrote:
> 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.

--

Knute Johnson
email s/nospam/knute/
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to resize all images sizes and coordinates of the images on resize browser rams.kakara@gmail.com ASP General 2 02-13-2005 09:03 AM
optimizing server resources: Graphics2D image editing servlet on Tomcat Amadeus Java 0 09-02-2003 04:09 PM
Painting with Graphics2D and an IndexColorModel... Michael C. Gilson Java 4 08-30-2003 11:43 PM
Interaction with Graphics2D drawing and buttons David Patterson Java 1 08-22-2003 08:24 AM
Graphics2D and Panels Wong Chee Wee Java 2 07-18-2003 01:31 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57