Results 1 to 6 of 6
  1. #1
    Dipke is offline Member
    Join Date
    Aug 2010
    Location
    Leuven, Belgium
    Posts
    86
    Rep Power
    0

    Default transparant containers

    Hi,

    Can i place containers over each other in a transparant way ?
    So that the content (a graph) of all containers is seen.

    I have to draw 4 graph on a container. When a graph is updated than i can only update the container that contains the graph.

    Kind regards

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,189
    Rep Power
    19

    Default

    If this isn't homework, just use JFreeChart.

    db

  3. #3
    Dipke is offline Member
    Join Date
    Aug 2010
    Location
    Leuven, Belgium
    Posts
    86
    Rep Power
    0

    Default

    No, it is not homework.
    But i want to try it myself, because of the special features i need.

    So, is it possible ?

    thx

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,189
    Rep Power
    19

    Default

    I don't know, because I haven't a clue about those 'special features' that rule out using JFreeChart or other available charting library. But if you take your best stab at it and post here with a specific question anytime you run into problems, someone will surely try to help.

    Any specific questions on this would probably sit better in the AWT / Swing or Java 2D forum.

    db

  5. #5
    Dipke is offline Member
    Join Date
    Aug 2010
    Location
    Leuven, Belgium
    Posts
    86
    Rep Power
    0

    Default

    Is layered pane an option for me ?

  6. #6
    ozzyman's Avatar
    ozzyman is offline Senior Member
    Join Date
    Mar 2011
    Location
    London, UK
    Posts
    797
    Blog Entries
    2
    Rep Power
    4

    Default

    i don't understand why you need to layer them just to see a graph in all the containers? if the graph is going to take up that same spot in each container, you should be making 1 container not 4 isn't it? or have the 4 containers, but 3 of them sitting inside the main one.

Similar Threads

  1. Transparant ImgIcon at background
    By warchieflll in forum Advanced Java
    Replies: 5
    Last Post: 01-07-2011, 11:57 AM
  2. Replies: 2
    Last Post: 12-19-2010, 02:24 PM
  3. Handle Resizing of Swing Containers
    By simlei in forum AWT / Swing
    Replies: 5
    Last Post: 02-23-2010, 02:20 AM
  4. First Java-game: Containers
    By eastviolence in forum New To Java
    Replies: 0
    Last Post: 04-04-2008, 06:09 PM
  5. Swing containers
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 12-07-2007, 12:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •