tdaitx / java-swing-ayatana

Automatically exported from code.google.com/p/java-swing-ayatana
0 stars 0 forks source link

Gtk Border Menu Fixed with exceptions #22

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The exceptions registered:

Jan 31, 2014 9:38:45 PM com.jarego.jayatana.swing.SwingGTKFixed deploy
WARNING: can't install gtk border fixed
java.lang.NullPointerException
    at javax.swing.plaf.synth.DefaultSynthStyleFactory.getMatchingStyles(DefaultSynthStyleFactory.java:144)
    at javax.swing.plaf.synth.DefaultSynthStyleFactory.getStyle(DefaultSynthStyleFactory.java:106)
    at javax.swing.plaf.synth.SynthLookAndFeel.getStyle(SynthLookAndFeel.java:235)
    at com.jarego.jayatana.swing.SwingGTKFixed.installGtkThikcness(Unknown Source)
    at com.jarego.jayatana.swing.SwingGTKFixed.deploy(Unknown Source)
    at com.jarego.jayatana.FeatureWrapper.deployOnce(Unknown Source)
    at com.jarego.jayatana.FeatureManager.deployOnce(Unknown Source)
    at com.jarego.jayatana.FeatureManager.deployForSwing(Unknown Source)

Feb 03, 2014 8:23:55 PM com.jarego.jayatana.swing.SwingGTKFixed deploy
WARNING: can't install gtk border fixed
java.lang.NoSuchFieldException: yThickness
    at java.lang.Class.getDeclaredField(Class.java:1948)
    at com.jarego.jayatana.swing.SwingGTKFixed.changeGtkYThikcness(Unknown Source)
    at com.jarego.jayatana.swing.SwingGTKFixed.installGtkThikcness(Unknown Source)
    at com.jarego.jayatana.swing.SwingGTKFixed.deploy(Unknown Source)
    at com.jarego.jayatana.FeatureWrapper.deployOnce(Unknown Source)
    at com.jarego.jayatana.FeatureManager.deployOnce(Unknown Source)
    at com.jarego.jayatana.FeatureManager.deployForSwing(Unknown Source)

Original issue reported on code.google.com by danjaredg on 4 Feb 2014 at 4:18

GoogleCodeExporter commented 8 years ago
I restarted my computer since I last posted, and now Netbeans and a program I 
use called "RobotBuilder" have started working correctly. RobotBuilder still 
has the second error, but it seems to work correctly. Netbeans does not throw 
the exception as far as I can tell. The only problem I have is that another 
program ("Smart Dashboard") throws the exception and does not integrate the 
menu bar.

Here is a link to the Smart Dashboard program: 
http://firstforge.wpi.edu/sf/projects/smartdashboard

Original comment by BenWolsi...@gmail.com on 5 Feb 2014 at 1:11

GoogleCodeExporter commented 8 years ago
I'm having this issue too, but with a small twist. Using Ubuntu Trusty 
(daily-build) with the new "Global menu per window", the Menu stops responding 
after each use, this means that I need to loose the window focus each time in 
order to gain access to it again. As an aside, keyboard shortcuts seem to be a 
bit "random".

Original comment by DKTcod...@gmail.com on 27 Feb 2014 at 5:12

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I can't reproduce the error, can you share your system specification.

1.- Java versión:
2.- Java Look And Feel
3.- Use OpenJDK, Oracle JDK or other
4.- Ubuntu version
5.- Ubuntu arquitecture
6.- GTK2 Theme

Original comment by danjaredg on 28 Feb 2014 at 6:50

GoogleCodeExporter commented 8 years ago
Sorry for the late reply. I'm testing with Ubuntu Trusty 64-bits (Ambiance) 
with Oracle Java 1.7.0_51. I tested some apps using Metal, Nimbus and System as 
look and feels.

I finally figure out that menus only disappear after open a dialog. I submitted 
a small example for testing. Perhaps this should be opened as a separate issue.

Original comment by DKTcod...@gmail.com on 9 Mar 2014 at 6:40

Attachments:

GoogleCodeExporter commented 8 years ago
I could not reproduce the error, does anyone know how?

Original comment by danjaredg on 31 Mar 2014 at 5:20

GoogleCodeExporter commented 8 years ago

Original comment by danjaredg on 16 Apr 2014 at 5:21