[ 2452201 ] Refactoring - move initialization of Adempiere UI to AMenu

This commit is contained in:
Heng Sin Low 2008-12-19 23:47:39 +00:00
parent 5bc1e9dae0
commit a2f4361336
2 changed files with 12 additions and 4 deletions

View File

@ -27,7 +27,6 @@ import javax.jnlp.ServiceManager;
import javax.jnlp.UnavailableServiceException;
import javax.swing.ImageIcon;
import org.adempiere.plaf.AdempierePLAF;
import org.compiere.db.CConnection;
import org.compiere.model.MClient;
import org.compiere.model.MSystem;
@ -476,7 +475,6 @@ public final class Adempiere
{
if (CLogMgt.isLevelAll())
log.log(Level.FINEST, System.getProperties().toString());
AdempierePLAF.setPLAF ();
}
// Set Default Database Connection from Ini

View File

@ -51,6 +51,7 @@ import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
import org.adempiere.apps.graph.PAPanel;
import org.adempiere.plaf.AdempierePLAF;
import org.compiere.Adempiere;
import org.compiere.apps.wf.WFActivity;
import org.compiere.apps.wf.WFPanel;
@ -87,6 +88,15 @@ import org.compiere.util.Splash;
public final class AMenu extends CFrame
implements ActionListener, PropertyChangeListener, ChangeListener
{
/**
* generated serialVersionUID
*/
private static final long serialVersionUID = 5255914306969824011L;
static {
AdempierePLAF.setPLAF ();
}
/**
* Application Start and Menu
*/