frame = new Gui5250Frame(this, frames.size()); frame.setSize(width,height); frame.centerFrame(); frame.setIconImage(tnicon.getImage()); frame.setIcons(focused,unfocused);
frame1 = new Gui5250Frame(this, frames.size()); frame1.setSize(width,height); frame1.centerFrame(); frame1.setIconImage(tnicon.getImage()); frame1.setIcons(focused,unfocused);
   void newView() {      int width = 600;      int height = 500;      if (sessions.containsKey("emul.width"))         width = Integer.parseInt(sessions.getProperty("emul.width"));      if (sessions.containsKey("emul.height"))         height = Integer.parseInt(sessions.getProperty("emul.height"));      frame = new Gui5250Frame(this, frames.size());      frame.setSize(width,height);      frame.centerFrame();      frame.setIconImage(tnicon.getImage());      frame.setIcons(focused,unfocused);      frames.add(frame);   }