Comments (4)
Hrm. I just found a work-around that does away with the JFrame and gets it to update properly, but am unsure of the consequences.
If I call updateUI() on the JProgressBar after each change of value, it works, Not sure why. Can't say I'm overly familiar with how that method works.
from substance.
Since this is not the "primary intended" usage of this library, I would need to see a small, standalone and complete sample that reproduces this issue under the latest dev builds.
Note that the simpler the setup is, the higher the chances are that I'll get to carve out a chunk of time to take a look at it. There are a lot of moving pieces at play in the Swing rendering pipeline, and without being able to reproduce this issue I can't tell where exactly it fails.
from substance.
Okay. That's going to take some time to put together.
My current project is not really stand-alone, nor is it small, but my thinking is I can reproduce this bug in a more compact form by painting to a BufferedImage and then displaying that on-screen in a more regular fashion.
So, gimme a few hours. Maybe a day.
from substance.
All-right, got that done. The attached file should have everything you need to demo this yourself, except for the substance and trident jars (I assume you have them on hand, hehe). All that need be done to see the tests in action is to drop 'substance.jar' and 'trident.jar' into the 'lib' directory and then run the main jar file. Those names need to be exact.
I included the Ant script I used to build this, source code and a little readme file (kind of terse version of this message, in case you forget what you're looking at).
I tested this with the build that's marked as version 7.1.00-dev, as obtained from here, since you said you wanted it tested against a dev build. I noticed some pretty bizarre behavior from the progress bar that doesn't get calls to it's updateUI() method. Apparently it does update, but it updates incorrectly and can display some very wacky and inaccurate stuff. Most of the time it'll display as either 0% or 100%, while the text version displays perfectly fine.
from substance.
Related Issues (20)
- Writing Japanese text fails when using Substance HOT 2
- Issue with the tree cell render which must be object of default cell render rather than the treecell. HOT 4
- SubstanceTableHeaderUI not being able to find draggedColumn HOT 9
- isFocusTraversable() has been deprecated
- Switching from Substance to another L&F causes IllegalArgumentException HOT 11
- Windows maximize when dragged to top HOT 1
- Maximize bug on secondary screen when screen resolutions differ HOT 4
- NullPointerException for Business L&F under Java 9 HOT 4
- Possible to change scroll bar style? HOT 1
- Move to Java 9 for compile / runtime HOT 1
- Support for "inverse flat" look of title pane control buttons HOT 1
- Slow performance HOT 4
- How to apply custom FontSets? HOT 2
- JTree rendering with Raven HOT 4
- Using the same border for JTextField and JTextArea/JScrollPane? HOT 2
- Not possible to change alpha value for color with color picker HOT 4
- JitPack deployment HOT 4
- NullPointerException in CheckBoxMenuItemIcon.getIconWidth() HOT 5
- Migration guide to v8 HOT 2
- Colorize SVG icons on skin change HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from substance.