Examples of pack()


Examples of org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewInternalFrame.pack()

        final PreviewInternalFrame frame = new PreviewInternalFrame(report);
        frame.setClosable(true);
        frame.setResizable(true);
        frame.setToolbarFloatable(false);
        getDesktop().add(frame);
        frame.pack();
        frame.setVisible(true);
        frame.requestFocus();
      }
      catch (ReportDefinitionException e)
      {
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.modules.gui.print.PageSetupDialog.pack()

      }
      else
      {
        dialog = new PageSetupDialog(context);
      }
      dialog.pack();
      SwingUtil.centerDialogInParent(dialog);
      final PageDefinition definition = dialog.performSetup(originalPageDef);
      if (dialog.isConfirmed() == false)
      {
        return;
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.demo.util.SimpleDemoFrame.pack()

    ClassicEngineBoot.getInstance().start();

    final SimpleBarcodesODFDemo demoHandler = new SimpleBarcodesODFDemo();
    final SimpleDemoFrame frame = new SimpleDemoFrame(demoHandler);
    frame.init();
    frame.pack();
    SwingUtil.centerFrameOnScreen(frame);
    frame.setVisible(true);

  }
}
View Full Code Here

Examples of org.pokenet.client.ui.frames.BagDialog.pack()

          m_bag = new BigBagDialog();
          getDisplay().add(m_bag);
        }
      };
      pane.setSize(80, 246);
      pane.pack();
     
      m_bagForm.getTitleBar().getCloseButton().setVisible(false);
      m_bagForm.getContentPane().add(pane);
      m_bagForm.setSize(pane.getWidth(),
          pane.getHeight() + m_bagForm.getTitleBar().getHeight());
View Full Code Here

Examples of org.tarantool.core.Tuple.pack()

      }
      stored = get(spaceNum, 0, new Tuple(1).setBytes(0, tuple.getBytes(0))).get(0);
    }

    if ((dmlRequest.getFlags() & Flags.RETURN_TUPLE) > 0) {
      byte[] responseBody = stored.pack();
      Response response = new Response(op, responseBody.length + 8, request.getId());
      response.setBody(ByteBuffer.allocate(responseBody.length + 8).order(ByteOrder.LITTLE_ENDIAN).putInt(1).putInt(responseBody.length)
          .put(responseBody).array());
      return response;
    } else {
View Full Code Here

Examples of org.tmatesoft.svn.core.internal.io.fs.FSPacker.pack()

     */
    public void doPack(File repositoryRoot) throws SVNException {
        FSFS fsfs = SVNAdminHelper.openRepository(repositoryRoot, true);
        try {
            FSPacker packer = new FSPacker(myEventHandler);
            packer.pack(fsfs);
        } finally {
            SVNAdminHelper.closeRepository(fsfs);
        }
           
    }
View Full Code Here

Examples of org.tools.ui.utils.BasicFrame.pack()

        frame.add(progress, "sg a");
        frame.add(play, "sg b");


        // pack and set visible
        frame.pack();
        frame.setVisible(true);
    }

    /**
     * @param args the command line arguments
View Full Code Here

Examples of org.toubassi.femtozip.substring.SubstringPacker.pack()

    protected SubstringPacker.Consumer buildEncodingModel(DocumentList documents) {
        try {
            SubstringPacker modelBuildingPacker = new SubstringPacker(dictionary);
            SubstringPacker.Consumer modelBuilder = createModelBuilder();
            for (int i = 0, count = documents.size(); i < count; i++) {
                modelBuildingPacker.pack(documents.get(i), modelBuilder, null);
            }
           
            return modelBuilder;
        }
        catch (IOException e) {
View Full Code Here

Examples of plot.Plot.pack()

    Timer event = new Timer("event");
    event.schedule(eventScheduler, 0, 100);
   
    // Plot data
    Plot plot = new Plot("Cadburys");
    plot.pack();
    RefineryUtilities.centerFrameOnScreen(plot);
    plot.setVisible(true);
 
}
View Full Code Here

Examples of ptolemy.actor.gui.HTMLViewer.pack()

                            .openModel(null, _help, _help.toExternalForm());
                } catch (Exception e1) {
                    HTMLViewer viewer = new HTMLViewer();
                    try {
                        viewer.setPage(_help);
                        viewer.pack();
                        viewer.show();
                    } catch (IOException e2) {
                        throw new KernelRuntimeException("Cannot open help "
                                + "file.");
                    }
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.