AWindow:
BF [ 1836908 ] Report customize NPE when no window access * organized imports * added serialVersionUID property
This commit is contained in:
parent
0bcab23d1f
commit
a9ea822b34
|
@ -16,13 +16,14 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.apps;
|
package org.compiere.apps;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.BorderLayout;
|
||||||
import java.awt.event.*;
|
import java.awt.Image;
|
||||||
|
import java.awt.event.WindowEvent;
|
||||||
|
|
||||||
import org.compiere.model.*;
|
import org.compiere.model.MQuery;
|
||||||
import org.compiere.util.*;
|
import org.compiere.swing.CFrame;
|
||||||
import org.compiere.swing.*;
|
import org.compiere.util.CLogger;
|
||||||
import org.compiere.db.*;
|
import org.compiere.util.Env;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Main Application Window.
|
* Main Application Window.
|
||||||
|
@ -31,9 +32,14 @@ import org.compiere.db.*;
|
||||||
*
|
*
|
||||||
* @author Jorg Janke
|
* @author Jorg Janke
|
||||||
* @version $Id: AWindow.java,v 1.2 2006/07/30 00:51:27 jjanke Exp $
|
* @version $Id: AWindow.java,v 1.2 2006/07/30 00:51:27 jjanke Exp $
|
||||||
|
*
|
||||||
|
* @author Teo Sarca, www.arhipac.ro
|
||||||
|
* <li>BF [ 1836908 ] Report customize NPE when no window access
|
||||||
*/
|
*/
|
||||||
public class AWindow extends CFrame
|
public class AWindow extends CFrame
|
||||||
{
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Standard Constructor - requires initWindow
|
* Standard Constructor - requires initWindow
|
||||||
*/
|
*/
|
||||||
|
@ -80,7 +86,10 @@ public class AWindow extends CFrame
|
||||||
setAD_Window_ID(AD_Window_ID);
|
setAD_Window_ID(AD_Window_ID);
|
||||||
//
|
//
|
||||||
boolean loadedOK = m_APanel.initPanel (0, AD_Window_ID, query);
|
boolean loadedOK = m_APanel.initPanel (0, AD_Window_ID, query);
|
||||||
|
if (loadedOK)
|
||||||
|
{
|
||||||
commonInit();
|
commonInit();
|
||||||
|
}
|
||||||
return loadedOK;
|
return loadedOK;
|
||||||
} // initWindow
|
} // initWindow
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue