• Post Reply Bookmark Topic Watch Topic
  • New Topic

Graphic in JSP  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Folks,

I am a Java/J2EE developer. I need to create a graphic that can show relation between different blocks (rectangular boxes). The block are dynamic and their names will be fetched from different database tables.

I can not use Swings, Applets to do this task for security reasons. Any input on this will be a help.

Regards,
Vinay
 
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I can not use Swings, Applets to do this task for security reasons.

What security reasons?
[ July 04, 2007: Message edited by: Paul Sturrock ]
 
Ranch Hand
Posts: 333
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do some research on CSS some years back, I found a page that used CSS to draw hiararcical (spelling?) diagrams.

Basicly the html contained teh structure and diagram content, and CSS was used to draw the actual boxes and connections.

It wasnt interactive, but it could be generated dynamicly, as the style sheet would always be the same, you would use class and ID selectors for the boxes and links.
Sorry I dont have the link, but I am sure if you do a search you should be able to find it.

Using some other CSS "tricks" you could have "popup" help/info for an items.
Eric Meyers css/edge is a very good place to start with CSS and see its "power"

G
 
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look into Grappa, a Java subset of GraphViz. I've used GraphViz on my workstation for some nifty diagrams. Shelling out to the full blown GraphViz might not be the wurst thing in the world, either.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!