Strange build problem...

3 views
Skip to first unread message

javelinBCD

unread,
Feb 27, 2009, 1:54:42 AM2/27/09
to WidgetFX Developers
I checked out from svn to play around with the code a little. I want
to be able to dock left, right, top, and a moveable docking area.
Partially to start learning some JavaFX. When I go to build the
WidgetFX-Container project is is giving me errors. I have JDK 1.6
Update 12 installed, I have the JavaFX 1.1 NetBeans update. The
following message is the build errors (I am at a loss why it is not
finding the java.awt.TrayIcon class):

init:
deps-jar:
E:\Users\Timothy\Documents\My WidgetFX\container\src\org\widgetfx\ui
\JXTrayIcon.java:51: cannot find symbol
symbol: class TrayIcon
public class JXTrayIcon extends TrayIcon {
E:\Users\Timothy\Documents\My WidgetFX\container\src\org\widgetfx
\communication\CommunicationProtocol.java:60: load
(java.io.InputStream) in java.util.Properties cannot be applied to
(java.io.StringReader)
properties.load(new StringReader(URLDecoder.decode(args
[4], "UTF-8")));
E:\Users\Timothy\Documents\My WidgetFX\container\src\org\widgetfx\ui
\JXTrayIcon.java:78: cannot find symbol
symbol : method addMouseListener(<anonymous
java.awt.event.MouseAdapter>)
location: class org.widgetfx.ui.JXTrayIcon
addMouseListener(new MouseAdapter() {

My java project has no problem seeing the TrayIcon class. I am
obviously doing something wrong. Any help would be good.

Pär Dahlberg

unread,
Feb 27, 2009, 3:09:02 AM2/27/09
to widget...@googlegroups.com
The tray icon feature is Java 6 only so I think this will solve your problem:

Keith

unread,
Feb 27, 2009, 3:09:29 AM2/27/09
to WidgetFX Developers
I think this is due to the RT15.jar issue described here:

http://steveonjava.com/2009/01/02/hacking-javafx-10-to-use-java-16-features/

javelinBCD

unread,
Mar 1, 2009, 12:19:43 AM3/1/09
to WidgetFX Developers
Thanks that fixed it. I also made sure to seperately install the SDK
instead of relying on NetBeans for that...

On Feb 27, 12:09 am, Keith <ke...@widgetfx.org> wrote:
> I think this is due to the RT15.jar issue described here:
>
> http://steveonjava.com/2009/01/02/hacking-javafx-10-to-use-java-16-fe...
Reply all
Reply to author
Forward
0 new messages