I'd like to use the GGraphics library:
http://geosoft.no/graphics/
in my Swing project.
However, when I open a GWindow (from GGraphics, does *NOT* derive from a
Swing Class), sometimes (not always reproducible) all other Widgets
(especially JTables) start flickering when the mouse is above
those widgets.
It seems like the GWindow causes invalidations of other regions (even in
other windows and even after the GGraphics window is closed!), so that
those widgets need to be repainted.
Do you have any idea what might cause this?
I attached a small example which needs G.jar and nicenumbers.jar:
http://geosoft.no/graphics/G.jar
http://geosoft.no/software/nicenumbers/nicenumbers.jar
It consists of two buttons. One of those ("Hist") opens the GWindow and
sometimes introduces flicker in all other guis, including the JTable that
can be opened with the other button.
As an alternative: Can you suggest another package which does drawing
graphs and zooming in/out ("canvas widget")?
Thanks in Advance!
--
Felix Natter
> As an alternative: Can you suggest another package which does drawing
> graphs and zooming in/out ("canvas widget")?
I like JFreeChart: <http://www.jfree.org/>. Right click on the chart to
see the context menu, which includes zoom, print, etc. Here's an example:
<http://sites.google.com/site/drjohnbmatthews/jfreechartdemo>
--
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>
> In article <877hskg...@etchy.mobile.lcn>,
> Felix Natter <felix....@smail.inf.fh-brs.de> wrote:
>
>> As an alternative: Can you suggest another package which does drawing
>> graphs and zooming in/out ("canvas widget")?
>
> I like JFreeChart: <http://www.jfree.org/>. Right click on the chart to
> see the context menu, which includes zoom, print, etc. Here's an example:
>
> <http://sites.google.com/site/drjohnbmatthews/jfreechartdemo>
Ok, thanks John!
We'll try this :-)
--
Felix Natter