Package org.openbp.swing.plaf.sky

Examples of org.openbp.swing.plaf.sky.SimpleBorder


    public TestFrame()
    {
      super("Property Browser Test");
      setBounds(100, 100, 600, 400);

      errorBorder = new SimpleBorder(2, 2, 2, 2);
      errorBorder.setWidth(2);
      errorBorder.setColor(Color.RED);

      propertyBrowser = new PropertyBrowserImpl(this, null);
View Full Code Here


    if (!readonly)
    {
      // Create the arrow button
      JButton btn = new BasicArrowButton(BasicArrowButton.SOUTH);
      btn.setBorder(new SimpleBorder(0, 2, 0, 2));
      btn.addActionListener(new ActionListener()
      {
        public void actionPerformed(ActionEvent e)
        {
          showBrowser();
View Full Code Here

    getContentPane().add(scrollPane);
    errorPane = scrollPane;

    if (errorBorder == null)
    {
      errorBorder = new SimpleBorder(2, 2, 2, 2);
      errorBorder.setWidth(2);
      errorBorder.setColor(Color.RED);
    }

    // The original title should always remain as sub title
View Full Code Here

   * Creates the arrow button.
   */
  protected JButton createArrowButton()
  {
    JButton btn = new BasicArrowButton(SwingConstants.SOUTH);
    btn.setBorder(new SimpleBorder(0, 2, 0, 2));

    btn.addActionListener(new ActionListener()
    {
      public void actionPerformed(ActionEvent e)
      {
View Full Code Here

      MiniView view = (MiniView) it.next();

      if (it.hasNext())
      {
        // Set a simple border that draws the left edge only
        view.setBorder(new SimpleBorder(0, 1, 0, 0));
      }
      else
      {
        // No border for the last view
        view.setBorder(null);
View Full Code Here

    if (!readonly)
    {
      // Create the arrow button
      JButton btn = new BasicArrowButton(BasicArrowButton.SOUTH);
      btn.setBorder(new SimpleBorder(0, 2, 0, 2));
      btn.addActionListener(new ActionListener()
      {
        public void actionPerformed(ActionEvent e)
        {
          showBrowser();
View Full Code Here

TOP

Related Classes of org.openbp.swing.plaf.sky.SimpleBorder

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.