Comments (17)
Panels are transparent and show the shaded background through.
We will be changing the default background color to our typical #f8f8f8 gray in
the next release, with a client
property on the root pane to change it to the shaded look.
The shaded look is intended to integrate any toolbars with the title bar and
general window frame. If you want
to use it you would set a background color on a panel that is embedded in your
content pane and the toolbars
would look distinct.
The trees and such are supposed to be white. I'm not sure what class your "View
by" and such are contained
in. If you actually set the panel to be opaque using setOpaque(true) you should
get a gray (f8) background. If
you set a background color you'll get that.
Original comment by kahuxtable
on 21 Mar 2010 at 11:33
from seaglass.
[deleted comment]
from seaglass.
[deleted comment]
from seaglass.
They're JPanels. I didn't set them explicitly opaque, or set the background
colors (other than for the JTree, which I set to white). I'm okay with the
shaded
look, but the white was a bit odd considering it didn't match the blue on the
right
either.
Original comment by [email protected]
on 21 Mar 2010 at 11:43
from seaglass.
Hmmm.... That's strange. Is this Sea Glass version 0.1.7.2? Or trunk? Or what?
Original comment by kahuxtable
on 21 Mar 2010 at 11:48
from seaglass.
I had originally done it against a 0.1.6. However to be sure, I just checked out
trunk and ran it against that. They still appear white.
Original comment by [email protected]
on 21 Mar 2010 at 12:12
from seaglass.
Okay, let me write something similar and verify. Thanks!
Original comment by kahuxtable
on 21 Mar 2010 at 12:21
from seaglass.
Well, I tried to write a test-case for you, but the test-case worked. So, the
problem
must be a fault in my code then. So upon checking it out, I wasn't setting the
background color on the JTree, but on the container panel. The panels at the
north
and south were being transparent and letting that white shine through. I didn't
notice before because the system L&F painted the north/south panel backgrounds.
However while checking this out, I did notice a single line at the bottom of the
JFrame just inside the border that wasn't being painted (it let the underlying
window
shine through). Not sure what the cause of this is.
Sorry about the misfiled bug. :-/
Original comment by [email protected]
on 21 Mar 2010 at 12:56
from seaglass.
No problem.
Can you send a screen shot of the new issue with the single line not being
painted?
Original comment by kahuxtable
on 21 Mar 2010 at 1:00
from seaglass.
Attached. I moved the window down on top of my taskbar, as it's a dark green of
sorts, and would provide a good contrast. It also happened in my previous
test-case I
wrote, so it's not specific to my Eleven app. I hope this helps.
Original comment by [email protected]
on 21 Mar 2010 at 1:05
Attachments:
from seaglass.
Hmmm... That is peculiar. I'm possibly miscalculating something. Or not.
We'll eventually have some usage guidelines, but I'm busy working on some Maven
plugins at the moment.
Original comment by kahuxtable
on 21 Mar 2010 at 1:09
from seaglass.
Original comment by kahuxtable
on 21 Mar 2010 at 1:10
- Changed title: Maybe doesn't paint bottom non-border line in the JFrame?
from seaglass.
Set owner to kahuxtable.
Original comment by kahuxtable
on 5 Jul 2010 at 1:44
from seaglass.
I'm letting issue 39 marinate for awhile and looking at other issues, such as
this one.
The outstanding problem is the bottom line issue, correct?
(Maybe I should make the background on JSplitPane be transparent, is that also
the case?)
Original comment by kahuxtable
on 13 Jul 2010 at 7:27
- Changed state: Accepted
from seaglass.
Yes, the non-painted bottom line is still the issue. The background of the
JSplitPane is not transparent, and setting it to such doesn't change anything.
Original comment by [email protected]
on 13 Jul 2010 at 8:44
from seaglass.
Hi,
The problem with the last line not beeing painted is already fixed in the
integration_rossi branch.
Have fun,
- Rossi
Original comment by [email protected]
on 15 Feb 2011 at 7:00
from seaglass.
This issue is fixed in sealglass 0.2 that we just have released.
Please give this new version a try.
Have fun,
- Rossi
Original comment by [email protected]
on 25 Jun 2012 at 8:42
- Changed state: Fixed
from seaglass.
Related Issues (20)
- Unable to disabled the maximize frame button HOT 1
- seaglass-demo.jar does not start HOT 1
- Window disappears when maximized in multiple monitor System. HOT 1
- Maximize and minimize windows buttons on JDialog aren't functional HOT 1
- Undecorated frames are erroneously decorated HOT 2
- Buttons don't resize
- Buttons don't color
- Doesn't work well with on-the-fly LAF changing
- GridBagLayout ist not properly working HOT 1
- garbled Chinese characters
- ClassCastException with Java 8 (later than 8.0_11) HOT 3
- JSlider track and knob disagree when Jslider minimun is non-zero HOT 1
- Size variants for JComboboxes do not work HOT 1
- Title bar colors don't unify on OS X 10.7 (Lion)
- Resizable problem HOT 1
- java.lang.UnsatisfiedLinkError: apple.laf.JRSUIControl.getCFDictionary(Z)J HOT 5
- JFileChooser is not closed after opening a file on Mac OS X
- Cannot shrink a JFrame, can only make it bigger HOT 1
- setBackgound fails on java 7 under mac os x HOT 1
- Seaglass Demo not working with Jre 1.7 HOT 8
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 seaglass.