use of org.compiere.apps.AWindow in project adempiere by adempiere.
the class VTrxMaterial method zoom.
// refresh
/**
* Zoom
*/
public void zoom() {
super.zoom();
// Zoom
panel.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
AWindow frame = new AWindow();
if (!frame.initWindow(AD_Window_ID, query)) {
panel.setCursor(Cursor.getDefaultCursor());
return;
}
AEnv.addToWindowManager(frame);
AEnv.showCenterScreen(frame);
frame = null;
panel.setCursor(Cursor.getDefaultCursor());
}
use of org.compiere.apps.AWindow in project adempiere by adempiere.
the class ZoomMenuAction method zoom.
private void zoom() {
String tablename = tableName;
int tableid = tableID;
MQuery query = new MQuery();
query.setTableName(tablename);
AWindow window = new AWindow();
if (window.initWindow(tableid, query)) {
AEnv.showCenterScreen(window);
}
window = null;
}
Aggregations