Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
Hello All,
I'm a beginner in Jabaco but i think that this can be a very powerfull tool for me and a lot of people like me that have to migrate an aplication from old VB6, this is my first post because i´m experiencing an error that is:
Java.lang.NoSuchMethodError: com.sun.java.swing.plaf.windows.DesktopProperty.<init>(Ljava/lang/String;Ljava/lang/Object;Ljava/awt/ToolkitV
at net.java.plaf.windows.common.WindowsTitledBorderPatch.patch(WindowsTitledBorderPatch.java:44)
at net.java.plaf.LookAndFeelPatchManager.patch(LookAndFeelPatchManager.java:113)
at net.java.plaf.LookAndFeelPatchManager.initialize(LookAndFeelPatchManager.java:103)
at VB.JBCLookAndFeel.setDefaultLookAndFeel(JBCLookAndFeel.jsrc)
at VB.JBCLookAndFeel.Class_Initialize(JBCLookAndFeel.jsrc)
at VB.JBCLookAndFeel.<init>(JBCLookAndFeel.jsrc)
at VB.Global.LookAndFeelManager(Global.jsrc)
at VB.AbstractForm.initVars(AbstractForm.jsrc)
at VB.AbstractForm.<init>(AbstractForm.jsrc)
at VB.Form.<init>(Form.jsrc)
at Form1.<init>(Form1.jsrc)
at Module1.<clinit>(Module1.jsrc)
Someone can help-me please?
Thanks for all!!!
Intermediate
Date of registration: Jan 1st 2009
Location: Hanover, Germany
Occupation: Software Engineer
Hobbies: Hilbert Curves
Intermediate
Date of registration: Jan 1st 2009
Location: Hanover, Germany
Occupation: Software Engineer
Hobbies: Hilbert Curves
Intermediate
Date of registration: Jan 1st 2009
Location: Hanover, Germany
Occupation: Software Engineer
Hobbies: Hilbert Curves
Source code |
|
1 2 3 |
java version "1.6.0_24" Java(TM) SE Runtime Environment (build 1.6.0_24-b07) Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode, sharing) |
Intermediate
Date of registration: Jan 1st 2009
Location: Hanover, Germany
Occupation: Software Engineer
Hobbies: Hilbert Curves
Java.lang.NoSuchMethodError: com.sun.java.swing.plaf.windows.DesktopProperty.<init>(Ljava/lang/String;Ljava/lang/Object;Ljava/awt/ToolkitV
Source code |
|
1 |
cd C:\Users\User\AppData\Local\Temp\Jabaco5684598 |
Source code |
|
1 |
C:\Users\User\AppData\Local\Temp\Jabaco5684598>java -cp "C:\Program Files\Jabaco\Jabaco.jar";. Module1 |
This post has been edited 3 times, last edit by "theuserbl" (Feb 18th 2011, 7:39pm)
Source code |
|
1 2 3 4 |
Toolkit toolkit = Toolkit.getDefaultToolkit(); DesktopProperty highLight = new DesktopProperty("win.3d.highlightColor", UIManager.getColor("controlLtHighlight"), toolkit); DesktopProperty shadow = new DesktopProperty("win.3d.shadowColor", UIManager.getColor("controlShadow"), toolkit); |
Source code |
|
1 2 3 4 5 6 7 |
public DesktopProperty(String paramString, Object paramObject, Toolkit paramToolkit) { this.key = paramString; this.fallback = paramObject; this.toolkit = paramToolkit; flushUnreferencedProperties(); } |
Source code |
|
1 2 3 4 5 6 7 |
public DesktopProperty(String paramString, Object paramObject) { this.key = paramString; this.fallback = paramObject; flushUnreferencedProperties(); } |
So, one needs a proper Jabaco.jar to circumvent this error?
A1880
Well, if it is of no use, it should be taken out
Quoted
or replaced by something better.
Quoted
JGoodies?