Re: Public API for internal Swing classes.

2015-08-03 Thread Alexander Scherbatiy
Hello Koen, Are you using the isEnabled(Object sender) method just to separate a logic that checks that an action needs to be executed from the action execution in the same way as it it done in the UIAction? Could you file an enhancement on it and provide a simple use case: http://bugre

Re: Public API for internal Swing classes.

2015-07-27 Thread Van Den Borre, Koen
Hey, We are using sun.swing.UIAction in a custom ListUI where we override the following method and use the sender object: @Override public boolean isEnabled(Object sender) Regards, Koen On 27 Jul 2015, at 14:30, Alexander Scherbatiy wrote: > > According to the JEP 200: The Modular JDK (s

Public API for internal Swing classes.

2015-07-27 Thread Alexander Scherbatiy
According to the JEP 200: The Modular JDK (see http://openjdk.java.net/jeps/200) we expect that the standard Java SE modules will not export any internal packages. It means that classes from internal packages (like sun.swing) will not be accessible. For example: sun.swing.FilePane sun.