Examples of pack()


Examples of boco.ejb3PlugIn.gui.ShowInFormDialog.pack()

      // Richiama la dialog per l'acquisizione delle informazioni

      ShowInFormDialog showInFormDialog = new ShowInFormDialog(null, Utils.getIntegerValue(annotationCode, "order").toString(), getImplementationType(annotationCode), Utils.getBooleanValue(annotationCode, "required"), Utils.getBooleanValue(annotationCode, "help"));

      showInFormDialog.pack();
      showInFormDialog.setLocationRelativeTo(null);
      showInFormDialog.setVisible(true);
      String order = showInFormDialog.getOrder();
      String implementationType = showInFormDialog.getType();
View Full Code Here

Examples of cl.alejo.jcsim.window.Window.pack()

public class JCSim {
  public static void main(String[] args) throws Exception {
    Window window = new Window(Circuit.load("menu.cir"));
    window.init();
    window.pack();
    window.show();
    window.startRepaint();
  }
}
View Full Code Here

Examples of com.aerospike.client.Value.pack()

      return;
    }
   
    if (obj instanceof Value) {
      Value value = (Value) obj;
      value.pack(this);
      return;
    }
   
    if (obj instanceof byte[]) {
      packBytes((byte[]) obj);
View Full Code Here

Examples of com.alee.extended.window.TestFrame.pack()

        HotkeyManager.registerHotkey ( Hotkey.SPACE, new HotkeyRunnable ()
        {
            @Override
            public void run ( final KeyEvent e )
            {
                tf.pack ();
            }
        } );
    }

    /**
 
View Full Code Here

Examples of com.alee.laf.desktoppane.WebInternalFrame.pack()

        tetrisFrameIcon.addMouseListener ( ma2 );
        tetrisFrameIcon.addMouseMotionListener ( ma2 );
        tetrisFrameIcon.setBounds ( 25, 25, 100, 75 );
        desktopPane.add ( tetrisFrameIcon );

        tetrisFrame.pack ();
        tetrisFrame.setLocation ( 25 + 100 + 25, 25 );
        tetrisFrame.close ();
    }
}
View Full Code Here

Examples of com.alee.laf.rootpane.WebWindow.pack()

        listScroll.setShadeWidth ( 0 );
        listScroll.setDrawFocus ( false );
        window.add ( listScroll );

        window.applyComponentOrientation ( getComponentOrientation () );
        window.pack ();

        final Point los = fileButton.getLocationOnScreen ();
        final Insets bi = list.getWebListCellRenderer ().getBorder ().getBorderInsets ( list );
        if ( getComponentOrientation ().isLeftToRight () )
        {
View Full Code Here

Examples of com.alibaba.otter.node.etl.common.pipe.impl.http.archive.ArchiveBean.pack()

        File archiveFile = new File("/tmp/otter/test.gzip");
        if (archiveFile.exists()) {
            archiveFile.delete();
        }

        boolean result = archiveBean.pack(archiveFile, fileDatas, new ArchiveRetriverCallback<FileData>() {

            public InputStream retrive(FileData source) {
                return new LazyFileInputStream(new File("/tmp/otter/test", source.getPath()));
            }
        });
View Full Code Here

Examples of com.ardor3d.extension.ui.UIFrame.pack()

        panel.add(ageSlider);
        panel.add(twoDimCheck);
        panel.add(worldCoordsCheck);

        frame.setContentPanel(panel);
        frame.pack();
        final Camera cam = _canvas.getCanvasRenderer().getCamera();
        frame.setLocalXY(cam.getWidth() - frame.getLocalComponentWidth(),
                cam.getHeight() - frame.getLocalComponentHeight());
        hud.add(frame);
    }
View Full Code Here

Examples of com.arjuna.ats.arjuna.common.Uid.pack()

        boolean outcome = false;
        final String tn = new AtomicAction().type();

        try
        {
            kungfuTx.pack(fluff);

            System.err.println("Creating dummy log");
           
            os.write_committed(kungfuTx, tn, fluff);
View Full Code Here

Examples of com.badlogic.gdx.graphics.g2d.PixmapPacker.pack()

        }

      }

      String name = packPrefix + c;
      Rectangle rect = packer.pack(name, pixmap);

      // determine which page it was packed into
      int pIndex = packer.getPageIndex(name);
      if (pIndex == -1) // we should not get here
        throw new IllegalStateException("packer was not able to insert '" + name + "' into a page");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.