Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

/r/ help from the Javafags.

Name: Anonymous 2008-12-29 21:01

Right.  I've got a code 18 here, it's stupid, it's annoying and I want to get rid of it once and for all.

I have a JPanel, which houses multiple sub-panels.  One of these is a JLayeredPane, and contains code that outputs data as a bar chart.  Within that JLayeredPanel, I want to render a set of data on the first layer, and the other set on the second layer - both are housed into their respective JComponents so they can be inserted in their layers.  Both datasets contain values; this has been verified.  I have also checked that the JLayeredPane contains both components after everything's been set up.

Problem: the second layer refuses to show up.

I have no clue as to what's going wrong.  Everything's there, the renders are set, the datasets are full - there should be nothing wrong in theory, but there is.  I'm drawn to the hypothesis that I overlooked a very simple but crucial concept and that it's making the whole thing go awry.

Any clues?

Name: Anonymous 2008-12-30 18:59

First you must separate the model from the view and controller.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List