We are looking forward to your feedback...
-- EtienneStuder - 16 Nov 2004
Hi Etienne,
Your Plugin really rocks.
I just installed it and it works right away.
I used to start with a starting class like
public class ClickOMatDevelopmentRunner
{
public static void main(String[] args)
{
UIManagerHelper.setJGoodiesLookAndFeel();
DevelopmentRunner.setApplicationClass(ClickOMat.class);
DevelopmentRunner.main(args);
}
}
that cares for setting a look and feel. Now starting through
the plugin obviously doesn't call these settings and the L&F
appears to be not as nice.
It is only a minor issue, but is there a way to go around it?
thanks for your work
-- DierkKoenig - 18 Nov 2004
Hi Dierk
The current implementation does not support execution of additional code besides starting the selcted class through the ULC Development Runner. What you could do as a workaround is something like this in your IApplication.start() method:
public void start() {
if(isRunInDevelopmentRunner()) {
UIManagerHelper.setJGoodiesLookAndFeel();
}
}
private static boolean isRunInDevelopmentRunner() {
try {
Class.forName("com.ulcjava.base.development.DevelopmentRunner");
return true;
}
catch(ClassNotFoundException cnfe) {
return false;
}
}
-- EtienneStuder - 19 Nov 2004
...