LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Graphics Layer Concept in java (https://www.linuxquestions.org/questions/programming-9/graphics-layer-concept-in-java-473644/)

ppanyam 08-14-2006 01:15 AM

Graphics Layer Concept in java
 
I am starting on a graphics rich project in java, which must render data from large files(several GB) and also from different files. Hence refreshing after change of any one display parameters will be difficult. I was planning to write different data on different layers and arrange them in proper order one over the other, as they do in GIS applciations. I thought of Layer concept, but I found no implementations in java (atleast accoding to Google)

After thinking out aloud for sometime, I could atbest extend BufferedImage class as JLayer, using background colour of BufferedLayer with Color(255,255,255,0), ie. Alpha set to 0.

If there are any other suggestions I would welcome them before I start on the project. I will be using jdk1.4.2.

ppanyam

ppanyam 08-16-2006 01:41 AM

I found Java Layer Framework (JLF) at Sun site. It looks a little complex for my requirement. It also "paints" all layers one by one. If one of the layers is altered, all layers have to be re "painted" on Graphics context. In my case it would be rather slow.

Any ideas please?


All times are GMT -5. The time now is 10:05 PM.