Re: RFD: JEP: Modernize the GTK3 Look and Feel implementation for OpenJDK

2015-02-06 Thread Clemens Eisserer
Hi, I don't have anything valueable to add, just would like to thank you for working on the GTK3 LnF. The GTK2 LNF's code paths are pure horror from a performance point-of-view - it is a really valueable addition that GTK3 can render to client-side surfaces without any obscure workaround. Thanks!

Re: Request for review: NPE when using Nimbus with a TableCellRenderer returning null.

2013-05-10 Thread Clemens Eisserer
gt; reported) at least one bug in Nimbus where it returns a null renderer when >> the column class is Icon. I think that's fixed, but I wouldn't be surprised >> if there are others. >> >> — Miguel Muñoz >> >> >> On Apr 16, 2013, at 7:55 AM, Alexander

Request for review: NPE when using Nimbus with a TableCellRenderer returning null.

2013-04-13 Thread Clemens Eisserer
Hi, When testing a legacy application which was using Metal LnF previously with Nimbus I ran into the following problem: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at javax.swing.plaf.synth.SynthTableUI.paintCell(SynthTableUI.java:685) at javax.swing.plaf.

Re: Weird focus problem with JTextField

2012-09-13 Thread Clemens Eisserer
Hi Pavel, I was able to distill the problem to small, self-contained testcase, which is available at: http://93.83.133.214/textfielddemo.zip I've also created a short video, demonstrating the issue: http://youtu.be/r1JDj5BuBOM The JTextField opens up a JPopupMenu on , which can be closed by click

May AbstractButton.doClick() be called by non-edt threads?

2011-10-29 Thread Clemens Eisserer
Hi, I recently got a really strange NPE when running Java2Demo, and by looking at the code it seems this NPE can only be caused by threading violations. (Component.maxSizeSet set to true, while Component.maxSize not visible) I had a look at Java2Demo's source, where I found code like this (ClipAn

Re: Is the following code supposed to leak?

2011-08-25 Thread Clemens Eisserer
Hi Pavel, So if your SecurityManager denies app closing, then the application should > be alive. It looks that your implementation contradicts javadoc contracts. > The app stays running for as long as the client's browser window is open - and is terminated when the assicioated HttpSession times o

Re: Is the following code supposed to leak?

2011-08-22 Thread Clemens Eisserer
Hi Pavel, In common case you shouldn't remove listeners of course. But in your case > you must remove listeners because of editor is shared between all > JTextComponents (see javadoc of the JTextComponent#getActions method and > BasicTextUI#getEditorKit implementation). So you added listeners not

Re: Is the following code supposed to leak?

2011-08-20 Thread Clemens Eisserer
Hi Roman, You keep creating and adding new listeners without ever removing them. > Of course this is going to leak. What makes me wonder, I add the listeners to an Action from a newly created JTextArea. Shouldn't the action belong to the JTextArea itself and be garbage-collected too when the JTe

Is the following code supposed to leak?

2011-08-19 Thread Clemens Eisserer
Hi, When running the Notepad-Demo shipped with the JDK on caciocavallo-web, I noticed memory leaks caused by PropertyChangeListeners added to Actions defined in DefaultEditorKit. Those actions are referenced by a static field (defaultActions). I was able to distill the problem down to the followi

Weird focus problem with JTextField

2011-08-10 Thread Clemens Eisserer
Hi Pavel, Thanks a lot for your reply. First of all it's not a good idea to keep the EDT thread busy for a long > time and I think the best way is to rewrite application. > The application was designed to run with a database running locally, so usually blocking does not last for more than a few

Weird focus problem with JTextField

2011-07-29 Thread Clemens Eisserer
Hi, I've developed a database applet where Swing widgets are connected to RowSets using the SwingSet library (an old sourceforge project). All queries are executed on the EDT, except for some background tasks which sync with the UI using SwingUtilities.invokeLater(). When running the application

Re: CSS$LengthUnit not found when running with my own AWT implementation

2011-07-02 Thread Clemens Eisserer
Hi again, The Problem was Toolkit.getScreenResolution() wasn't implemented, and CSS$LengthUnit called it in its initializer. I wonder why that Exception wasn't shown anywhere, there is clearly no catch that could have swallowed the throwable. Thanks, Clemens 2011/7/2 Clemens Eisse

Re: CSS$LengthUnit not found when running with my own AWT implementation

2011-07-02 Thread Clemens Eisserer
Hi Roman, > Are there any preceding exceptions? Most often this is caused by > something that goes wrong while loading the class, which results in a > NoClassDefFoundError. The first time this happens, it should show the > root cause, then that class is flagged as error state and any access to > t

CSS$LengthUnit not found when running with my own AWT implementation

2011-06-29 Thread Clemens Eisserer
Hi, I am working on a Caciocavallo-based AWT implementation which (hopefully) will allow to run Swing-Applications server-side but re-direct rendering/events to a Canvas5 capable browser. However I have troubles with Swing elements which contain HTML, initiating those widgets fails with a NoClass

Why no JInternalDialog?

2011-04-22 Thread Clemens Eisserer
Hi, Why is there no JInternalDialog classes provided by Swing? Are there any plans to introcuce this component in JDK7/8? This question came to my mind, because I had to use a JDialog although the rest of my app uses internal frames throughout. I had a look at the JOptionPane.showInternalXXXDialo

Re: WindowsLnf - Black JDesktopPane background with default theme?

2010-12-22 Thread Clemens Eisserer
Hi Alexander, > I sorry for the delay No problem, I just wasn't sure theres someone listening ;) > All of the described problem are not known, > so please go ahead and file a bug I've filed the reports as 7008416 and 7008396. Thanks and Happy Holidays, Clemens

WindowsLnf - Black JDesktopPane background with default theme?

2010-12-14 Thread Clemens Eisserer
Hi, Running my swing based app on jdk6u22 + Windows7 with the WindowsLookAndFeel I get a black background for JDesktopPanes which looks quite ugly. I get the same behaviour running SwingSet2: http://picasaweb.google.com/linuxhippy/Stuff#5550236610696968258 Is black simply the default background

Re: Nimbus no longer part of JRE6?

2010-06-17 Thread Clemens Eisserer
Hi, >> It's still under com.sun.java.plaf.nimbus.* Mea culper, I was looking under javax.swing.plaf.nimbus for it, where its located in JDK7. > It's also available in the same package in IcedTea6 1.8 which should > be available through your distro's OpenJDK packages.  I don't know why > you'd nee

Nimbus no longer part of JRE6?

2010-06-17 Thread Clemens Eisserer
Hi, I've just installed JRE6u20 (sun's proprietary builds) and as far as I can see nimbus is no longer included in that distribution? Am I just wrong, or has it really been omitted? - Clemens

Re: How to get Nimbus source?

2008-07-16 Thread Clemens Eisserer
Hi, > Isn't it in the src.zip under the root folder of your 6u10 JDK installation? > I see it there, and Eclipse has no problems linking to Nimbus sources as > well. Sorry, I did not think about the src.zip :) Thanks, Clemens

How to get Nimbus source?

2008-07-16 Thread Clemens Eisserer
Hello, Is it possible to download the source of nimbus which is included in the JRE6u10 beta builds? I am trying to understand why my Java2D pipeline hits so many fallbacks and the source would definitivly help. I only found the source of the old stand-alone-version, with the warning that its out

Re: Inefficiencies with custom TableCellRenderer and Applets

2008-06-04 Thread Clemens Eisserer
Hi Artem, Sorry, I haven't been monitoring this discussion the last two weeks or so. Thanks a lot for looking into it, and for filing the bug. Clemens 2008/5/23 Artem Ananiev <[EMAIL PROTECTED]>: > > Artem Ananiev wrote: >> >> Shannon Hickey wrote: >>> &g

Inefficiencies with custom TableCellRenderer and Applets

2008-05-03 Thread Clemens Eisserer
Hi, I've created a library which has to use custom TableCellRenderers for its tables. I experienced a large performance difference between running my application as Application inside an JFrame and as an JApplet. Parented inside of the JFrame scrolling the table was smooth, however scrolling insid

Re: Two Gtk-LNF bugs+fixes

2008-01-16 Thread Clemens Eisserer
Sorry about my chidish reaction, I just got a bit worried and angry. Keep up the good work and thanks for opening the JDK :) lg Clemens 2008/1/16, Alexander Potochkin <[EMAIL PROTECTED]>: > Hello Clemens > > I just want to say thank you for being with us > and sorry for the late response > > Our

Re: Two Gtk-LNF bugs+fixes

2008-01-16 Thread Clemens Eisserer
Hi Kirill, > It's me you're talking about. > You're absolutely right about everything you've said. Please don't take it personal, its just it happend already so often on jdk-collaboration and also here on OpenJDK. If you've luck and you find an engineer which takes notice the process is really smo

Re: Two Gtk-LNF bugs+fixes

2008-01-15 Thread Clemens Eisserer
I understand that there might be a lot of more important work to do right after christmas holidays, however just a single "hey, thanks for the source - we'll have a look at it later" would have been nice. Instead of paying open-source contributors Sun should better pay a few more engineers, the ex

Re: Two Gtk-LNF bugs+fixes

2008-01-04 Thread Clemens Eisserer
bug 6302463 seems to describe the same behaviour, I guess one of those can be closed as duplicate? lg Clemens

Re: Two Gtk-LNF bugs+fixes

2008-01-04 Thread Clemens Eisserer
Hello again, I searched a bit at bugs.sun.com and bug 6627196 seems to eaxtly describe the two issues my patch in the last mail tries to adress. lg Clemens

Two Gtk-LNF bugs+fixes

2008-01-02 Thread Clemens Eisserer
Hello, On my laptop running Fedora7, GTKLookAndFeel showed some artifacts on JInternalFrames, as can be seen here: http://picasaweb.google.at/linuxhippy/GtkLnf There are two problems + sugested fixes: 1.) Description: The titlebar of JInternalFrames showed lines, grey when selected and transpare

Re: JFileChooser

2007-09-05 Thread Clemens Eisserer
Hi Carl, > I asked for that because I hate to say to the client > that I cannot do that in a certain time because Java does not > provide that, what impression will it give him? Another example is > also that date picker. > I know there's the date picker but it should be standard. If we want > Swi

Re: JFileChooser

2007-09-05 Thread Clemens Eisserer
Hello Carl, > I also would like to add a request to add context menus to > JTextComponent by providing a method to enable that, the > context menus are Undo, Redo, Select All, Delete, Cut, Copy, Paste. > The unavailability of such small details make it hard to develop > native good looking Java ap

Re: Updating a JComboBox's values at popup-opening-time

2007-08-17 Thread Clemens Eisserer
Hello again, Sorry for wasting your time again :-/ As far as I've seen leouser already submitted tons of patches, and he even had the same ideas what I've had (simply to re-calculate size after the PopupListener has been called) and as it seems it turned out to be not as easy ;) I did not see man

Re: Updating a JComboBox's values at popup-opening-time

2007-08-17 Thread Clemens Eisserer
Hello again, > It sounds very similar to the bug 4743225 > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4743225 > As far as I know there is no any good workaround for this problem, Oha 68 votes ... thats some kind of funny and sad too. But yes it seems many people are fighting with this prob

Updating a JComboBox's values at popup-opening-time

2007-08-16 Thread Clemens Eisserer
Hello, This is both a question and (if its really a problem) maybe an idea for enhancement. I've a JComboBox which should update its values at the time it is opened (because the come from a source which changes from time to time during the life of the JComboBox and I don't want to update it perio