I have a window which contains upper JPanel
where figures are painted and the lower JPanel
where figures are listed in the JList
the list looks like:
[minature][figure.toString()]
The minature is JPanel
of a size 10x10
. I would like it to contain minature of drawn figure in the upper Panel. By it I mean.
class minaturePanel{
Figure f;....
public void paint(Graphics g){
g.drawFullSizeFigure(f);
g.rescaleWholeInsidesOfThePanel();
}
}