145146147148149150151152153154155
} // move and resize the JComponent defaultLayout(comp, parent_viewer.getFactory()); viewer.updateUI(); } catch (Exception ex) { ex.printStackTrace(); // ignore } }