Package net.sourceforge.squirrel_sql.fw.gui

Examples of net.sourceforge.squirrel_sql.fw.gui.MultipleLineLabel


      // the Netbeans editor (Issue #41241).
      // As soon as this bug is fixed
      // the Oster editor will be removed.]
      String text = s_stringMgr.getString("syntax.osterExplain");
         gbc = new GridBagConstraints(0,0,1,1,0,0,GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH, new Insets(5,5,5,5), 0,0);
         add(new MultipleLineLabel(text), gbc);

         gbc = new GridBagConstraints(0,1,1,1,0,0,GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(5,0,5,5), 0,0);
         add(createOptionsPanel(), gbc);

         gbc = new GridBagConstraints(1,0,1,2,0,0,GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(5,5,5,5), 0,0);
View Full Code Here


      //\n
      //3. 'Specify Schema loading and Caching': Oracle Alias properties will take effect when the Schemas table on the 'Schemas' tab is refreshed.\n
      //\n
      //Note: If Schema Alias properties are set to load all cache none and Oracle Alias properties is set to 'Allow all Schemas' this may result in very long Session startup time.]
      String desc = s_stringMgr.getString("OraclePrefsPanel.Description");
      add(new MultipleLineLabel(desc), gbc);


      gbc = new GridBagConstraints(0,2,1,1,0,0,GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(0,5,5,5),0,0);
      // i18n[OracleAliasPrefsPanel.AccessibleButSys=Allow accessible Schemas excluding SYS]
      radLoadAccessibleSchemasExceptSYS = new JRadioButton(s_stringMgr.getString("OracleAliasPrefsPanel.AccessibleButSys"));
View Full Code Here

      gbc.gridy = 0;
      add(createFontsPanel(), gbc);

      ++gbc.gridy;
      gbc.gridwidth = GridBagConstraints.REMAINDER;
      add(new MultipleLineLabel(i18n.LAF_WARNING), gbc);
    }
View Full Code Here

  {
    final JPanel pnl = new JPanel();
    // i18n[sqlval.infoBorder=Info]
    pnl.setBorder(BorderFactory.createTitledBorder(s_stringMgr.getString("sqlval.infoBorder")));
    pnl.setLayout(new BorderLayout());
    final MultipleLineLabel lbl = new MultipleLineLabel(INFO);
    lbl.setCaretPosition(0);
    lbl.setRows(3);
    lbl.setColumns(30);
    final JScrollPane sp = new JScrollPane(lbl);
    sp.setBorder(BorderFactory.createEmptyBorder());
    pnl.add(sp, BorderLayout.CENTER);
    return pnl;
  }
View Full Code Here

      add(createLookAndFeelPanel(), gbc);

      ++gbc.gridy;
      gbc.gridx = 0;
      gbc.gridwidth = GridBagConstraints.REMAINDER;
      add(new MultipleLineLabel(LAFPreferencesPanelI18n.LAF_WARNING), gbc);

         ++gbc.gridy;
         gbc.gridx = 0;
         gbc.gridwidth = GridBagConstraints.REMAINDER;
         MultipleLineLabel enforedWarningLabel = new MultipleLineLabel(LAFPreferencesPanelI18n.LAF_CRITICAL_WARNING);
         enforedWarningLabel.setForeground(Color.red);
         add(enforedWarningLabel, gbc);
    }
View Full Code Here

      GridBagConstraints gbc;

      // i18n[FactoryProviderDialog.desc=Please enter the fully qualified class name of a SessionFactorImpl provider class.
      // The compiled class file must be in one of your additional classpath entries.]
      MultipleLineLabel lbl = new MultipleLineLabel(s_stringMgr.getString("FactoryProviderDialog.desc"));
      gbc = new GridBagConstraints(0,0,2,1,0,0, GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH, new Insets(5,5,5,5), 0,0);
      getContentPane().add(lbl, gbc);

      txtClassName = new JTextField();
      gbc = new GridBagConstraints(0,1,2,1,0,0, GridBagConstraints.NORTHWEST, GridBagConstraints.HORIZONTAL, new Insets(5,5,5,5), 0,0);
View Full Code Here

      clear();
   }

   private MultipleLineLabel createClearLabel(String hqlQuery)
   {
      MultipleLineLabel ret = new MultipleLineLabel(s_stringMgr.getString("ResultsController.resultDescription", hqlQuery));
      return ret;
   }
View Full Code Here

      if(rootType1.getResultType() instanceof TupelType)
      {
         String msg = s_stringMgr.getString("RootResultController.MutibleTypesMessage", getClassNames((TupelType) rootType1.getResultType()));
         pnlResults.removeAll();
         pnlResults.add(new MultipleLineLabel(msg));
         return;
      }

      _resultTree = new JTree();
View Full Code Here

      getContentPane().setLayout(new GridBagLayout());

      GridBagConstraints gbc;

      MultipleLineLabel lbl;

      lbl = new MultipleLineLabel(s_stringMgr.getString("ProcessDetailsDialog.processDesc"));
      gbc = new GridBagConstraints(0,0,1,1,0,0, GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH, new Insets(5,5,5,5), 0,0);
      getContentPane().add(lbl, gbc);

      txtCommand = new JTextPane();
      gbc = new GridBagConstraints(0,1,1,1,1,1, GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH, new Insets(5,5,0,5), 0,0);
      getContentPane().add(new JScrollPane(txtCommand), gbc);

      gbc = new GridBagConstraints(0,2,1,1,0,0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(0,5,5,5), 0,0);
      getContentPane().add(createCommandButtons(), gbc);


      lbl = new MultipleLineLabel(s_stringMgr.getString("ProcessDetailsDialog.endProcessDesc"));
      gbc = new GridBagConstraints(0,3,1,1,0,0, GridBagConstraints.NORTHWEST, GridBagConstraints.HORIZONTAL, new Insets(5,5,5,5), 0,0);
      getContentPane().add(lbl, gbc);

      chkEndProcessOnDisconnect= new JCheckBox(s_stringMgr.getString("ProcessDetailsDialog.chkEndProcess"));
      gbc = new GridBagConstraints(0,4,1,1,0,0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(5,5,5,5), 0,0);
View Full Code Here

      getContentPane().setLayout(new GridBagLayout());

      GridBagConstraints gbc;

      gbc = new GridBagConstraints(0,0,1,1,1,1, GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH, new Insets(5,5,5,5),0,0);
      getContentPane().add(new MultipleLineLabel(s_stringMgr.getString("LimitObjectCountDialog.text")), gbc);

      gbc = new GridBagConstraints(0,1,1,1,0,0, GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH, new Insets(5,5,5,5),0,0);
      getContentPane().add(createButtonPanel(), gbc);

View Full Code Here

TOP

Related Classes of net.sourceforge.squirrel_sql.fw.gui.MultipleLineLabel

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.