Git Product home page Git Product logo

Comments (17)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
[deleted comment]

from seaglass.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
[deleted comment]

from seaglass.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
Okay, let me write something similar and verify. Thanks!

Original comment by kahuxtable on 21 Mar 2010 at 12:21

from seaglass.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024

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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
Set owner to kahuxtable.

Original comment by kahuxtable on 5 Jul 2010 at 1:44

from seaglass.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
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)

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.