Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-08-2008, 06:34 PM
Member
 
Join Date: Apr 2008
Posts: 2
dkaja is on a distinguished road
Dispaly of CGM Images and automatic Hotspotting
Hello,

We have requirement to disply images with .cgm extension in JSP based application. Based on my research, found that CGM images cannot be viewed directly on a browser unless we have some software or plug-ins.

Any thoughts on how to enable viewing of CGM images in a browser and automatic hotspotting be achieved with CGM images.

Can any one help me in this regard,its urgent...

Thanks in advance
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-08-2008, 07:10 PM
Member
 
Join Date: Feb 2008
Posts: 45
new_2_java is on a distinguished road
Take a look at this link

CGM Viewer - How to
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 04-08-2008, 10:59 PM
Member
 
Join Date: Apr 2008
Posts: 2
dkaja is on a distinguished road
I have already gone with CMGVA,but my reuirement is display the image on Web browser and automatic hotspotting.

I did not find hotspotting anywhere in cgmva.

with cgmva I can able to see only CGM image but not able to do Zoom in /Zoom out of the image and fallowing are my runtime errors(exceptions).


Java Plug-in 1.6.0_05
Using JRE version 1.6.0_05 Java HotSpot(TM) Client VM
User home directory = C:\Users\krishna


----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------

Exception in thread "AWT-EventQueue-2" java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
at java.awt.image.DirectColorModel.createCompatibleWr itableRaster(Unknown Source)
at sun.awt.Win32GraphicsConfig.createAcceleratedImage (Unknown Source)
at sun.awt.windows.WComponentPeer.createImage(Unknown Source)
at java.awt.Component.createImage(Unknown Source)
at CgmViewApplet.a(Unknown Source)
at o.componentResized(Unknown Source)
at java.awt.Component.processComponentEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Unknown attribute: 42
Unknown attribute: 19
Unknown attribute: 20
Unknown attribute: 37
Unknown attribute: 38
Exception in thread "AWT-EventQueue-3" java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
at java.awt.image.DirectColorModel.createCompatibleWr itableRaster(Unknown Source)
at sun.awt.Win32GraphicsConfig.createAcceleratedImage (Unknown Source)
at sun.awt.windows.WComponentPeer.createImage(Unknown Source)
at java.awt.Component.createImage(Unknown Source)
at CgmViewApplet.a(Unknown Source)
at o.componentResized(Unknown Source)
at java.awt.Component.processComponentEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Unknown attribute: 44
Unknown attribute: 45


Plaese help me to figure out....
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Comparing Images shaungoater Advanced Java 0 03-17-2008 12:38 PM
Images not displaying in JSP in IE7 chadscc Advanced Java 0 11-13-2007 05:24 PM
Help using images in Java toby Advanced Java 1 08-07-2007 07:54 AM
Help with images... toby Java Applets 1 08-04-2007 07:25 AM
Images in JSP Daniel JavaServer Pages (JSP) and JSTL 1 06-05-2007 08:01 AM


All times are GMT +3. The time now is 10:07 AM.


VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org