Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Java 2D | Forum profile

Forum profile page for Java 2D on http://www.sun.com. This report page is the aggregated overview from a single forum: Java 2D , located on the Message Board at http://www.sun.com. This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period. Additional forum profile information for "Java 2D " on the Message Board at http://www.sun.com is also shown in the following ways:

1) Latest Active Threads
2) Hot Threads for Last Week

Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.

Site: Sun Forums - Java 2D
(site profile, domain info sun.com)
Title: Java 2D
Url: http://forums.sun.com/forum.jspa?forumID=20
Users activity: 24 posts per thread
Forum activity: 34 active threads during last week
 

Posting activity on Java 2D :

  Week Month 3 Months
Threads: 34 131 352
Post: 79 286 851
 

Java 2D Posting activity graph:

Posts by:  day  week  month 

Top authors during last week:

Name
Posts
kevinaworkman
8
user's latest post:
graphics2d 4 drawings for four...
Published (2009-12-04 09:05:00)
Lil_chidya wrote: now nothing appears when i click the jButton1 And when do you actually call that method? Without the SSCCE we asked for, I can't help you any more.
DarrylBurke
6
user's latest post:
need help displaying shapes...
Published (2009-11-30 19:11:00)
To try to code graphics without doing this is about as useful as groping about in the dark. But groping about in the dark is so much fun ;-) ;-) Oh wait, we're talking about programming here :( db
Maxideon
6
user's latest post:
repainting correctly without...
Published (2009-11-30 09:39:00)
That black part is part of your image. The condition for using the code in my reply above was that the image has an alpha channel. Your image has no alpha channel . Use one of either TYPE_INT_ARGB, TYPE_4BYTE_ABGR, TYPE_INT_ARGB_PRE, TYPE_4BYTE_ABGR_PRE, or GraphicsConfiguration#createCompatibleImage(int width, int height, Transparency.BITMASK)
milantomic123
5
user's latest post:
Cut polygon from image
Published (2009-12-04 09:40:00)
I have just used wikipedia to see what the hell now "rhetorical" means and I can say only: no, no, no, it is not rhetorical, please answer my post! :) Let me try to make it more simple: I have 2 images (BufferedImage) and both images have colored content and black areas. I'd like to join those 2 images into 1 image (draw one over the other) and to make black areas disappear, because where first image has black area where the...
tjacobs01
5
user's latest post:
Cut polygon from image
Published (2009-12-04 10:53:00)
milantomic123 wrote: I have just used wikipedia to see what the hell now "rhetorical" means and I can say only: no, no, no, it is not rhetorical, please answer my post! :) I already gave you the answer, but since it seems you have no interest in reading / pursuing my /our advice, I can only assume that all of this is just a log to yourself.
tenly
4
user's latest post:
Displaying JPG image (10742 x 6186)
Published (2009-11-30 01:24:00)
Thanks maxideon for you explanation, I got enlightenment..:) warm regards, Stanley
AndrewThompson64
4
user's latest post:
Load images without flickering
Published (2009-12-03 23:03:00)
Raja.Sivagurunathan wrote: ..Here is my code snippet. How do you know the problem is in the snippet? Maybe it is some other part of the code you did not post. Either way, I do not have time to pore over code snippets, in the hope they are the right parts of the code, looking for solutions. ... Please help me to solve this problem. I will look further into the code if you post an SSCCE (<- link). Note that if you reply to me and post...
neelam_d
3
user's latest post:
when button clicked image is...
Published (2009-12-03 21:41:00)
Dear sir my code is very big..so I m posting only the part of a code...plz tell me where I should make a change??? ..plz help me .My problem is when the button 4 is clicked i.e submit button the image should be displayed in the same form with all data..only photo is added... JPanel theButtonPanel = new JPanel( new BorderLayout()); JButton button1 = new JButton( "Cancel" ); JButton button2 = new JButton(...
Lil_chidya
3
user's latest post:
graphics2d 4 drawings for four...
Published (2009-12-04 09:01:00)
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {   JScrollPane listScroller = new JScrollPane(jPanel1); listScroller.setPreferredSize(jPanel1.getPreferredSize()); listScroller.setAlignmentX(LEFT_ALIGNMENT); comonent= new NoElement(); comonent.setSize( new Dimension(11,8)); comonent.setAlignmentX(LEFT_ALIGNMENT); comonent.setMinimumSize( new Dimension(20, 20)); comonent.setPreferredSize( new Dimension(20,20));...
morgalr
3
user's latest post:
when button clicked image is...
Published (2009-12-03 07:05:00)
Then you need to go back and read the tutorial on graphics, post some code--a short working model showing your problem. When you make a GUI and use a JPanel to show your image, you override the paintComponent to show the image, it will not affect your layout.
 

Latest active threads on Java 2D ::

Sun Forums
Started 2 days, 2 hours ago (2009-12-04 05:50:00)  by tjacobs01
Check out Area. Create an Area for you whole area and an Area for your cutout, and use Area.subtract(? check out the API) You can then set this as the graphics clipping and voila
Thread:  Show this thread (9 posts)   Thread info: Cut polygon from image Size: 228 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Cut polygon from image :: Java 2D
 :: Sun Forums"
Sun Forums
Started 1 day, 16 hours ago (2009-12-04 15:44:00)  by slowmotion
import java.awt.*; import java.awt.image.BufferedImage; import java.awt.image.WritableRaster; import javax.swing.JFrame; public class PlatnoRx extends Canvas { private static final long serialVersionUID = 4741063338633439424L; public BufferedImage bi; public WritableRaster wr; public PlatnoRx() { this....
Thread:  Show this thread (2 posts)   Thread info: WritableRaster - draw rectangle Size: 5,561 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: WritableRaster - draw rectangle :: Java 2D
 :: Sun Forums"
Sun Forums
Started 1 week, 6 days ago (2009-11-23 05:09:00)  by Lil_chidya
i didnt mention one thing the output should be like in a horizontal window
Thread:  Show this thread (15 posts)   Thread info: graphics2d 4 drawings for four letters entered Size: 109 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: graphics2d 4 drawings for four letters entered :: Java 2D
 :: Sun Forums"
Sun Forums
Started 2 days, 2 hours ago (2009-12-04 05:56:00)  by kevinaworkman
LankanSniper wrote: I need to recognize and print coordinates of the black pixels present in a threshold image which means image only consist of Black and White pixels. Please somebody help me with the implementation. (Sample threshold-ed image is attached) Code: http://www.java-forums.org/attachments/java-2d/665 d1259905778-recognize-black-pixel-threshold-image- 1.jpg public ...
Thread:  Show this thread (2 posts)   Thread info: How to Recognise Black Pixel in a Thresholded Image???? Size: 1,900 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: How to Recognise Black Pixel in a Thresholded Image???? :: Java 2D
 :: Sun Forums"
Sun Forums
Started 2 days, 4 hours ago (2009-12-04 03:22:00)  by StanislavL
You should use one of the rotation if text orientation should be from up to down of rotated page use the first approach if (orientation == ORIENTATION_DOWN_UP) { g2d.rotate( -Math.PI / 2, 0, 0); g2d.translate( -w, 0); } else { g2d.rotate(Math.PI / 2, 0, 0); g2d.translate(0, -h); } w and h ...
Thread:  Show this thread (3 posts)   Thread info: printer rotate & scale Size: 999 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: printer rotate & scale :: Java 2D
 :: Sun Forums"
Sun Forums
Started 2 days, 9 hours ago (2009-12-03 22:39:00)  by AndrewThompson64
Raja.Sivagurunathan wrote: ...I have a folder contains 100 numbers of images like Jpeg0.jpeg, Jpeg1.jpeg, Jpeg2.jpeg......Jpeg99.jpeg. My question is, how can i navigate to the next or previous images without flickering? Fix the code.
Thread:  Show this thread (4 posts)   Thread info: Load images without flickering Size: 373 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Load images without flickering :: Java 2D
 :: Sun Forums"
Sun Forums
Started 3 days, 19 hours ago (2009-12-02 13:04:00)  by morgalr
Use a JPanel and layout manager and you'll need another JPanel too. To do this right, you need to use components for each result you want shown and it is possible by using the appropriate layout. You can do all of this in just the JFrame using absolute layout, but I do not recommend it.
Thread:  Show this thread (5 posts)   Thread info: when button clicked image is displayed in small picbox???is it possible... Size: 338 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: when button clicked image is displayed in small picbox???is it
possible... :: Java 2D
 :: Sun Forums"
Sun Forums
Started 2 days, 14 hours ago (2009-12-03 18:01:00)  by slowmotion
import java.awt.*; import java.awt.event.MouseEvent; import java.awt.font.*; import java.awt.geom.*; import javax.swing.*; import javax.swing.event.MouseInputAdapter; public class DAL extends JPanel { Line2D.Double[] lines = new Line2D.Double[0]; Rectangle2D.Double[] rects = new Rectangle2D.Double[0]; boolean showRects = ...
Thread:  Show this thread (3 posts)   Thread info: Dragging & Resizing lines Size: 11 kb
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Dragging & Resizing lines :: Java 2D
 :: Sun Forums"
Sun Forums
Started 5 days, 12 hours ago (2009-11-30 19:11:00)  by DarrylBurke
To begin with, you don't paint 'on' a Graphics2D object, you paint with a Graphice object on a painting surface which is usually some subclass of Component. If you're using AffineTransform, read the API for createTransformedShape. db
Thread:  Show this thread (4 posts)   Thread info: New coordinates for sheared image. Size: 316 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: New coordinates for sheared image. :: Java 2D
 :: Sun Forums"
 

Hot threads for last week on Java 2D ::

Java 2D
Started 2 days, 2 hours ago (2009-12-04 05:50:00)  by tjacobs01
Check out Area. Create an Area for you whole area and an Area for your cutout, and use Area.subtract(? check out the API) You can then set this as the graphics clipping and voila
Thread:  Show this thread (9 posts)   Thread info: Cut polygon from image Size: 228 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Cut polygon from image :: Java 2D
 :: Sun Forums"
Java 2D
Started 5 days, 20 hours ago (2009-11-30 11:49:00)  by DarrylBurke
1. Do you claim to be running that uncompilable code? 2. Do custom painting in an extended JPanel or JCOmponent, not in a top level window. 3. Performing Custom Painting db
Thread:  Show this thread (5 posts)   Thread info: need help displaying shapes inside jframe Size: 375 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: need help displaying shapes inside jframe :: Java 2D
 :: Sun Forums"
Java 2D
Started 1 week, 6 days ago (2009-11-23 05:09:00)  by Lil_chidya
i didnt mention one thing the output should be like in a horizontal window
Thread:  Show this thread (15 posts)   Thread info: graphics2d 4 drawings for four letters entered Size: 109 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: graphics2d 4 drawings for four letters entered :: Java 2D
 :: Sun Forums"
Java 2D
Started 6 days, 2 hours ago (2009-11-30 05:20:00)  by kevinaworkman
toki78 wrote: Hi, is it possible to load all frames of an animated gif ? Best Regards Thorsten What happened when you tried?
Thread:  Show this thread (5 posts)   Thread info: How to load frames of an animated gif Size: 277 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: How to load frames of an animated gif :: Java 2D
 :: Sun Forums"
Java 2D
Started 3 days, 19 hours ago (2009-12-02 13:04:00)  by morgalr
Use a JPanel and layout manager and you'll need another JPanel too. To do this right, you need to use components for each result you want shown and it is possible by using the appropriate layout. You can do all of this in just the JFrame using absolute layout, but I do not recommend it.
Thread:  Show this thread (5 posts)   Thread info: when button clicked image is displayed in small picbox???is it possible... Size: 338 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: when button clicked image is displayed in small picbox???is it
possible... :: Java 2D
 :: Sun Forums"
Java 2D
Started 1 week, 1 day ago (2009-11-27 23:25:00)  by DarrylBurke
I don't get the desired results. Perhaps you'd like to tell us what results you do get? Also, why construct a FileInputStream when there is a form of createFont that accepts a File? And please correct your indenting, it's very difficult to follow code with mismatching indents and outdents. And posting meaningless IDE-generated comments, and that too wrongly located, is yet another ...
Thread:  Show this thread (4 posts)   Thread info: Can't load truetype font Size: 545 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Can't load truetype font :: Java 2D
 :: Sun Forums"
Java 2D
Started 1 week, 4 days ago (2009-11-24 18:37:00)  by tjacobs01
it's all a combination of calling repaint and revalidate, either on the affected panel or its parent
Thread:  Show this thread (7 posts)   Thread info: repainting correctly without resize application window Size: 135 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: repainting correctly without resize application window :: Java 2D
 :: Sun Forums"
Java 2D
Started 5 days, 12 hours ago (2009-11-30 19:11:00)  by DarrylBurke
To begin with, you don't paint 'on' a Graphics2D object, you paint with a Graphice object on a painting surface which is usually some subclass of Component. If you're using AffineTransform, read the API for createTransformedShape. db
Thread:  Show this thread (4 posts)   Thread info: New coordinates for sheared image. Size: 316 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: New coordinates for sheared image. :: Java 2D
 :: Sun Forums"
Java 2D
Started 2 days, 9 hours ago (2009-12-03 22:39:00)  by AndrewThompson64
Raja.Sivagurunathan wrote: ...I have a folder contains 100 numbers of images like Jpeg0.jpeg, Jpeg1.jpeg, Jpeg2.jpeg......Jpeg99.jpeg. My question is, how can i navigate to the next or previous images without flickering? Fix the code.
Thread:  Show this thread (4 posts)   Thread info: Load images without flickering Size: 373 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Load images without flickering :: Java 2D
 :: Sun Forums"
Java 2D
Started 6 days ago (2009-11-30 07:46:00)  by morgalr
Graphics Addressing Remapping Table? (GART) or Golden Valley Agricultural Research Trust (GART) or German American Research Trust (GART). Perhaps you could explain what it is that you want. If it's the remapping table, then please explain a bit about what you want to do with it, because as far as I can see, it's not going to have any bearing on Java programming.
Thread:  Show this thread (3 posts)   Thread info: Urgent requirement of GART Size: 402 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Urgent requirement of GART :: Java 2D
 :: Sun Forums"