Code Monkey home page Code Monkey logo

Comments (8)

kirill-grouchnikov avatar kirill-grouchnikov commented on May 23, 2024 1

Should be fixed in 7.1.00 release

from substance.

kirill-grouchnikov avatar kirill-grouchnikov commented on May 23, 2024

That skin does use light-colored borders, so that's intended. But it should be on all four sides.

I'll need to check how this looks like on non-Retina / non hi-dpi screens. Maybe I'm missing the lines there under that mode.

from substance.

kirill-grouchnikov avatar kirill-grouchnikov commented on May 23, 2024

Please attach a small standalone sample that shows this issue under the latest 7.1 dev build.

from substance.

RealAquilus avatar RealAquilus commented on May 23, 2024

I forgot to write it, this in in the stable 7.0.01 build, i haven't tested the 7.1, i will check this evening with it an will post the code here.

from substance.

RealAquilus avatar RealAquilus commented on May 23, 2024

Tested right now the bug still exist in the 7.1 dev. The code is:
/*

  • To change this license header, choose License Headers in Project Properties.
  • To change this template file, choose Tools | Templates
  • and open the template in the editor.
    */
    package testsubstance;

import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;

/**
*

  • @author Andrea_F
    */
    public class TestSubstance extends javax.swing.JFrame
    {

    /**

    • Creates new form TestSynthetica
      */
      public TestSubstance()
      {
      initComponents();
      }

    /**

    • This method is called from within the constructor to initialize the form.

    • WARNING: Do NOT modify this code. The content of this method is always

    • regenerated by the Form Editor.
      */
      @SuppressWarnings("unchecked")
      //
      private void initComponents()
      {

      setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

      javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
      getContentPane().setLayout(layout);
      layout.setHorizontalGroup(
      layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGap(0, 400, Short.MAX_VALUE)
      );
      layout.setVerticalGroup(
      layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGap(0, 300, Short.MAX_VALUE)
      );

      pack();
      }//

    /**

    • @param args the command line arguments
      /
      public static void main(String args[])
      {
      JFrame.setDefaultLookAndFeelDecorated(true);
      JDialog.setDefaultLookAndFeelDecorated(true);
      /
      Create and display the form */
      java.awt.EventQueue.invokeLater(new Runnable()
      {
      public void run()
      {
      try
      {
      UIManager.setLookAndFeel("org.pushingpixels.substance.api.skin.SubstanceGraphiteChalkLookAndFeel");
      } catch (ClassNotFoundException ex)
      {
      Logger.getLogger(TestSubstance.class.getName()).log(Level.SEVERE, null, ex);
      } catch (InstantiationException ex)
      {
      Logger.getLogger(TestSubstance.class.getName()).log(Level.SEVERE, null, ex);
      } catch (IllegalAccessException ex)
      {
      Logger.getLogger(TestSubstance.class.getName()).log(Level.SEVERE, null, ex);
      } catch (UnsupportedLookAndFeelException ex)
      {
      Logger.getLogger(TestSubstance.class.getName()).log(Level.SEVERE, null, ex);
      }
      new TestSubstance().setVisible(true);
      }
      });
      }
      }
      Created using the NetBeans Form designer (version 8.2) but tested in eclipse without designer too, nothing changed.
      Hope this help. If you need some other test i will do as fast as i can.

from substance.

RealAquilus avatar RealAquilus commented on May 23, 2024

A little update: if i resize the form to a lower res the full border appear.
as

from substance.

kirill-grouchnikov avatar kirill-grouchnikov commented on May 23, 2024

I'm not seeing this behavior. What is the version of OS and Java runtime that you're running?

from substance.

RealAquilus avatar RealAquilus commented on May 23, 2024

Sorry for the delay i was unable to get to the pc these days.
Anyway:
Windows 7 Ultimate (Build 76001, service pack 1)
Java 8 Update 141.

from substance.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.