Package no.ugland.utransprod.util

Examples of no.ugland.utransprod.util.Threadable


  private class AssemblyReportListener implements ActionListener {

    public void actionPerformed(ActionEvent event) {

      Util.runInThreadWheel(window.getRootPane(), new Threadable() {

        public void enableComponents(boolean enable) {
        }

        public Object doWork(Object[] params, JLabel labelInfo) {
View Full Code Here


    window = aWindow;
  }

  public void actionPerformed(ActionEvent e) {
    Util.runInThreadWheel(window != null ? window.getRootPane() : null,
        new Threadable() {

          public void enableComponents(boolean enable) {
            // TODO Auto-generated method stub

          }
View Full Code Here

    /**
     * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
     */
    public void actionPerformed(ActionEvent arg0) {
      Util.runInThreadWheel(window.getRootPane(), new Threadable() {

        public void enableComponents(boolean enable) {

        }

View Full Code Here

    /**
     * @see java.awt.event.ComponentAdapter#componentShown(java.awt.event.ComponentEvent)
     */
    @Override
    public void componentShown(ComponentEvent event) {
      Util.runInThreadWheel(window.getRootPane(), new Threadable() {

        public void enableComponents(boolean enable) {
        }

        public Object doWork(Object[] params, JLabel labelInfo) {
View Full Code Here

        if (((JPanel) event.getSource()).getParent() instanceof JTabbedPane) {
          parent = (JTabbedPane) ((JPanel) event.getSource())
              .getParent();
        }
      }
      Util.runInThreadWheel(window.getRootPane(), new Threadable() {

        public void enableComponents(final boolean enable) {
        }

        public Object doWork(final Object[] params,
View Full Code Here

  public static void showDataInExcelInThread(final WindowInterface window,
      final String fileName, final String heading, final JXTable table,
      final List<Integer> numberCols,
      final Map<Integer, Integer> colSize, final int headFontSize,
      final boolean wrapText) {
    Util.runInThreadWheel(window.getRootPane(), new Threadable() {

      public void enableComponents(final boolean enable) {
      }

      public Object doWork(final Object[] params, final JLabel labelInfo) {
View Full Code Here

   * @see no.ugland.utransprod.gui.handlers.AbstractViewHandler#updateViewList(java.lang.Object)
   */
  @Override
  protected void updateViewList(final Deviation object,
      WindowInterface aWindow) {
    Util.runInThreadWheel(aWindow.getRootPane(), new Threadable() {

      public void enableComponents(boolean enable) {
      }

      public Object doWork(Object[] params, JLabel labelInfo) {
View Full Code Here

TOP

Related Classes of no.ugland.utransprod.util.Threadable

Copyright © 2018 www.massapicom. 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.