* @return javax.swing.JInternalFrame
*/
private JInternalFrame getTinaInternalFrame() {
if (tinaInternalFrame == null) {
tinaInternalFrame = new TinaInternalFrame();
WindowPrefs wPrefs = prefs.getWindowPrefs(WindowPrefs.WINDOW_TINA);
tinaInternalFrame.setLocation(wPrefs.getLeft(), wPrefs.getTop());
tinaInternalFrame.setSize(wPrefs.getWidth(1188), wPrefs.getHeight(740));
tinaInternalFrame
.addInternalFrameListener(new javax.swing.event.InternalFrameAdapter() {
public void internalFrameDeactivated(
javax.swing.event.InternalFrameEvent e) {
tinaInternalFrame_internalFrameDeactivated(e);
}
public void internalFrameClosed(
javax.swing.event.InternalFrameEvent e) {
tinaInternalFrame_internalFrameClosed(e);
}
});
tinaInternalFrame.addComponentListener(new java.awt.event.ComponentAdapter() {
public void componentResized(java.awt.event.ComponentEvent e) {
tinaController.refreshFlameImage(false);
}
});
try {
tinaInternalFrame.setSelected(true);
tinaInternalFrame.setMaximum(wPrefs.isMaximized());
}
catch (Exception e) {
// e.printStackTrace();
}
}