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: 26 active threads during last week
 

Posting activity on Java 2D :

  Week Month 3 Months
Threads: 26 110 334
Post: 38 268 797
 

Java 2D Posting activity graph:

Posts by:  day  week  month 

Top authors during last week:

Name
Posts
gimbal2
5
user's latest post:
J2000 streaming
Published (2009-11-10 10:49:00)
user_java wrote: Hi all. I would like to do a IP streaming of .j2k files. The protocol to use is JPIP. Is it feasible to implement it? Thanks Anything is possible, but it seriously depends on your skill level and how much time you have to spend on it. Judging by your previous forum posts, I'd say you need a little more experience with simpler Java development practices. If you still want to pursue this idea, then do some research...
DoraiRaj
5
user's latest post:
how to prevent text wrapping...
Published (2009-11-11 20:23:00)
To fully express my question this much code is required, its feeling difficult to reduce code from that code. if i reduce, some of the functionality i missed to express. (changeCornerCursorsType method was changed by removing if condition Parenthesis ) ... Edited by: DoraiRaj on Nov 12, 2009 4:21 AM
DarrylBurke
3
user's latest post:
Distance to CubicCurve2D [locked]
Published (2009-11-11 21:48:00)
TimSpears, please don't post in threads that are long dead. When you have a question, start your own topic. Feel free to provide a link to an old post that may be relevant to your problem. I'm locking this thread now. db
darkskimmer
3
user's latest post:
Creating JPEG image from 24bit RGB
Published (2009-11-10 04:29:00)
Good morning from Spain, For convert from three channel RGB to one int I use private int makeARGB( int a, int r, int g, int b) { return a << 24 | r << 16 | g << 8 | b; } I've been trying changing the order from ARGB to RGBA, but I get an image with a yellow dominant... Regards! EDIT: Creating an ImageIcon instance from the BufferedImage and showing it in a JFrame Windows looks great, without...
Rudra_Java
3
user's latest post:
Reclaiming memory in buffered image
Published (2009-11-11 23:08:00)
Hi, could you please send,how to solve the issue.. Thanks.
AndrewThompson64
3
user's latest post:
drawing colored bufferedImages...
Published (2009-11-11 00:34:00)
DarrylBurke wrote: To get better help sooner, post a SSCCE that clearly demonstrates your problem. For the images, you will (I'm guessing) need to generate them(1) in the SSCCE, in order to display the problem. Usually you can just draw a BufferedImage in memory and there is no need to convert it to an encoded JPEG or PNG before use. (1) At first I was about to jump in with a link to the hot-linkable images at my site, but then I noticed...
morgalr
2
user's latest post:
Creating JPEG image from 24bit RGB
Published (2009-11-09 22:56:00)
changing int' to ARGB is as simple as: myARGB = A*0x01000000 + R*0x010000 + G*0x0100 + B;
mr_empty
2
user's latest post:
merging four c,m,y,k single band...
Published (2009-11-08 23:02:00)
now i use the following code: import java.awt. ; import java.awt.event. ; import java.awt.color. ; import java.awt.geom. ; import java.awt.image. ; import java.awt.image.renderable. ; import javax.media.jai. ; import javax.media.jai.widget. ; public class BandMergeTest extends Frame { private static int TILE_WIDTH = 128; private static int TILE_HEIGHT = TILE_WIDTH; public static void main(String[] args) { if(args.length == 0) {...
endasil
2
user's latest post:
how to prevent text wrapping...
Published (2009-11-12 06:23:00)
DoraiRaj wrote: To fully express my question this much code is required, Nah, I don't think so. Just looking quickly, I very much doubt that you need to manual Graphics painting to demonstrate a line-wrapping problem. I think you're just lazy.
jaswinder_singh
1
user's latest post:
PrintServiceLookup - Will not...
Published (2009-11-11 23:19:00)
I have a simple class that fetches all the attached printers to a Linux system (with CUPS). It returns, correctly, list of three printers. PrintService[] printerServiceList; printerServiceList = PrintServiceLookup.lookupPrintServices( null , null ); for ( int i = 0; i < printerServiceList.length; i++) { System.out.println(printerServiceList[i].getName()); }   None of the three printers are physically attached to the Linux...
 

Latest active threads on Java 2D ::

Sun Forums
Started 6 days ago (2009-11-11 00:34:00)  by DoraiRaj
import java.awt.BasicStroke; import java.awt.Color; import java.awt.Cursor; import java.awt.Font; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Point; import java.awt.RenderingHints; import java.awt.Stroke; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.awt.event....
Thread:  Show this thread (6 posts)   Thread info: how to prevent text wrapping when hyphen(-) encountered . Size: 9,693 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: how to prevent text wrapping when hyphen(-) encountered . :: Java 2D
 :: Sun Forums"
Sun Forums
Started 6 days, 2 hours ago (2009-11-10 21:58:00)  by DarrylBurke
1. Make sure that you are not retaining any references to the images. 2. Try invoking flush() on each image when you are done with it. 3. "created a buffered image object" could have any of several different meanings. To get better help sooner, post a SSCCE that clearly demonstrates your problem. Use code tags to post codes -- [ code]CODE[ /code] will display as CODE Or ...
Thread:  Show this thread (5 posts)   Thread info: Reclaiming memory in buffered image Size: 733 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Reclaiming memory in buffered image :: Java 2D
 :: Sun Forums"
Sun Forums
Started 5 days, 2 hours ago (2009-11-11 21:48:00)  by DarrylBurke
TimSpears, please don't post in threads that are long dead. When you have a question, start your own topic. Feel free to provide a link to an old post that may be relevant to your problem. I'm locking this thread now. db
Thread:  Show this thread (2 posts)   Thread info: Distance to CubicCurve2D [locked] Size: 286 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Distance to CubicCurve2D :: Java 2D
 :: Sun Forums"
Sun Forums
Started 6 days, 2 hours ago (2009-11-10 21:52:00)  by DarrylBurke
To get better help sooner, post a SSCCE that clearly demonstrates your problem. db
Thread:  Show this thread (3 posts)   Thread info: drawing colored bufferedImages on greyscale BufferedImages Size: 222 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: drawing colored bufferedImages on greyscale BufferedImages :: Java 2D
 :: Sun Forums"
Sun Forums
Started 6 days, 13 hours ago (2009-11-10 10:49:00)  by gimbal2
user_java wrote: Hi all. I would like to do a IP streaming of .j2k files. The protocol to use is JPIP. Is it feasible to implement it? Thanks Anything is possible, but it seriously depends on your skill level and how much time you have to spend on it. Judging by your previous forum posts, I'd say you need a little more experience with simpler Java development practices. If you still...
Thread:  Show this thread (2 posts)   Thread info: J2000 streaming Size: 678 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: J2000 streaming :: Java 2D
 :: Sun Forums"
Sun Forums
Started 1 week, 3 days ago (2009-11-06 05:49:00)  by gimbal2
perhaps in the byte ordering of the color components? How are you storing the pixels? As ARGB or RGBA?
Thread:  Show this thread (7 posts)   Thread info: Creating JPEG image from 24bit RGB Size: 137 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Creating JPEG image from 24bit RGB :: Java 2D
 :: Sun Forums"
Sun Forums
Started 1 week, 6 days ago (2009-11-03 09:07:00)  by Maxideon
Band merging is a raster concept. CMYK is a ColorModel concept. You probably need to force a CMYK color model onto your band merged image. I would also think that this, PlanarImage i2 = JAI.create("filestore",result,"C://multiband.tiff" ,"TIFF"); is too simple. I don't think the filestore operation defaults to jpeg encoding when saving as a tiff, which is what you would need.
Thread:  Show this thread (8 posts)   Thread info: merging four c,m,y,k single band tiff into one cmyk tiff Size: 469 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: merging four c,m,y,k single band tiff into one cmyk tiff :: Java 2D
 :: Sun Forums"
 

Hot threads for last week on Java 2D ::

Java 2D
Started 6 days ago (2009-11-11 00:34:00)  by DoraiRaj
import java.awt.BasicStroke; import java.awt.Color; import java.awt.Cursor; import java.awt.Font; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Point; import java.awt.RenderingHints; import java.awt.Stroke; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.awt.event....
Thread:  Show this thread (6 posts)   Thread info: how to prevent text wrapping when hyphen(-) encountered . Size: 9,693 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: how to prevent text wrapping when hyphen(-) encountered . :: Java 2D
 :: Sun Forums"
Java 2D
Started 6 days, 2 hours ago (2009-11-10 21:58:00)  by DarrylBurke
1. Make sure that you are not retaining any references to the images. 2. Try invoking flush() on each image when you are done with it. 3. "created a buffered image object" could have any of several different meanings. To get better help sooner, post a SSCCE that clearly demonstrates your problem. Use code tags to post codes -- [ code]CODE[ /code] will display as CODE Or ...
Thread:  Show this thread (5 posts)   Thread info: Reclaiming memory in buffered image Size: 733 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Reclaiming memory in buffered image :: Java 2D
 :: Sun Forums"
Java 2D
Started 1 week, 3 days ago (2009-11-06 05:49:00)  by gimbal2
perhaps in the byte ordering of the color components? How are you storing the pixels? As ARGB or RGBA?
Thread:  Show this thread (7 posts)   Thread info: Creating JPEG image from 24bit RGB Size: 137 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Creating JPEG image from 24bit RGB :: Java 2D
 :: Sun Forums"
Java 2D
Started 6 days, 2 hours ago (2009-11-10 21:52:00)  by DarrylBurke
To get better help sooner, post a SSCCE that clearly demonstrates your problem. db
Thread:  Show this thread (3 posts)   Thread info: drawing colored bufferedImages on greyscale BufferedImages Size: 222 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: drawing colored bufferedImages on greyscale BufferedImages :: Java 2D
 :: Sun Forums"
Java 2D
Started 1 week, 6 days ago (2009-11-03 09:07:00)  by Maxideon
Band merging is a raster concept. CMYK is a ColorModel concept. You probably need to force a CMYK color model onto your band merged image. I would also think that this, PlanarImage i2 = JAI.create("filestore",result,"C://multiband.tiff" ,"TIFF"); is too simple. I don't think the filestore operation defaults to jpeg encoding when saving as a tiff, which is what you would need.
Thread:  Show this thread (8 posts)   Thread info: merging four c,m,y,k single band tiff into one cmyk tiff Size: 469 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: merging four c,m,y,k single band tiff into one cmyk tiff :: Java 2D
 :: Sun Forums"
Java 2D
Started 5 days, 2 hours ago (2009-11-11 21:48:00)  by DarrylBurke
TimSpears, please don't post in threads that are long dead. When you have a question, start your own topic. Feel free to provide a link to an old post that may be relevant to your problem. I'm locking this thread now. db
Thread:  Show this thread (2 posts)   Thread info: Distance to CubicCurve2D [locked] Size: 286 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Distance to CubicCurve2D :: Java 2D
 :: Sun Forums"
Java 2D
Re: J2000 streaming - 2 new posts
Started 6 days, 13 hours ago (2009-11-10 10:49:00)  by gimbal2
user_java wrote: Hi all. I would like to do a IP streaming of .j2k files. The protocol to use is JPIP. Is it feasible to implement it? Thanks Anything is possible, but it seriously depends on your skill level and how much time you have to spend on it. Judging by your previous forum posts, I'd say you need a little more experience with simpler Java development practices. If you still...
Thread:  Show this thread (2 posts)   Thread info: J2000 streaming Size: 678 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: J2000 streaming :: Java 2D
 :: Sun Forums"
Java 2D
Started 1 week ago (2009-11-09 01:30:00)  by gimbal2
I would make it a two-step deal. The first step is to create an in-memory data structure that represents the tree you want to draw. This is something you can unit test. You would only need to define the nodes, the lines you draw between the nodes. The second step is to actually draw the tree. Create a subclass of JPanel and override its paintComponent() method. In here you do the ...
Thread:  Show this thread (2 posts)   Thread info: Java2D beginner needs advice Size: 1,154 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Java2D beginner needs advice :: Java 2D
 :: Sun Forums"