Happy new year everybody...
UPDATE: due to some minor modifications the current version is 3.9.12
I know i said it would take some months until you will see the next release but i needed some components be part of the library so i decided this morning to make a quick release and added these new things to the lib.
The new things i have added are the traffic light and light bulb you might know already from the friday fun components, another traffic light component that might fit better to different color schemes and at least 8 new indicator symbols in the IndicatorGauge.
To give you an idea on what the stuff looks like...here they are...
The traffic lights and the light bulb...
and the eight new symbols which are just arrows pointing to different directions...
And that's all for this release...like i said a quick release with just a few new additions. You will find the new version either here on this blog on the right side or at MavenCentral.
For those of you that are interested in the progress of the SteelSeriesFX i could show you one screenshot of the current state...
As you can see i made some progress but it's still a looooooong way to go...
so stay tuned and keep coding...
Hello,
ReplyDeleteI found problem in release 3.9.10 for "Linear" component. I got exception for creating this component:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at eu.hansolo.steelseries.gauges.AbstractLinear.getMinimumSize(AbstractLinear.java:1309)
at java.awt.Component.preferredSize(Component.java:2623)
at java.awt.Container.preferredSize(Container.java:1788)
at java.awt.Container.getPreferredSize(Container.java:1773)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1662)
at eu.hansolo.steelseries.gauges.AbstractLinear.(AbstractLinear.java:71)
at eu.hansolo.steelseries.gauges.Linear.(Linear.java:77)
at net.cpce.netrad.client.swing.Test.(Test.java:83)
at net.cpce.netrad.client.swing.Test$3.run(Test.java:204)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:705)
at java.awt.EventQueue.access$000(EventQueue.java:101)
at java.awt.EventQueue$3.run(EventQueue.java:666)
at java.awt.EventQueue$3.run(EventQueue.java:664)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:675)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Best regards,
Michal
Hi Michal,
ReplyDeletethx for the info, please try the latest version 3.9.12 (from this page) but be careful, it's still warm... ;)
Cheers,
Gerrit
Hi Gerrit,
ReplyDeletethanks for quick fix. I found another problem with this component. Unit string for this component with vertical orientation is not visible(is hidden behind the LCD). I send you email with screenshot. Is possible change position of this string(e.g. somewhere near 'title' string or LED)? Thanks for reply. Regards,
Michal
Hi Gerrit,
ReplyDeleteLuckily I stumbled on your SteelSeries using a Google search. I badly need quite a number of sailing performance gauges and I was happy to see your relative windmeter (amongst others).
So I happily replaced all my handcrafted gauges with yours and it looked fantastic (as expected). The only problem is: the performance and resource usage really suck. Are there any tips you could give to optimize performance on your gauge set?
Do you expect the upcoming javaFX based lib to perform better (should I wait for that?)?
Thanks,
Paul
Note: the worst of the pack is the Sparkline, which brings the system to a crawl quite rapidly
Hi Paul,
ReplyDeleteit depends on how you use the gauges. If you use them to visualize realtime data you should always use the setValue() methods instead of setValueAnimated(). It would be great if you could give me access to your code so that we could collaborate to get things running for you.
You could contact me at han dot solo dot gg at googlemail dot com ... :)
Cheers and thanx for the info,
Gerrit
Hi Paul,
ReplyDeletedid you consider trakStop values >(>) 100?
how can I do this?
regard
Michael