- assigned_to: nobody --> marcsskyhunter
Should getFont and getColor be eschewed for getFontData
and getRGB? The issue is that, I suspect that a
malicious program, by doing getBackground() on any
panel and then disposing it. This could bring the whole
jvm down. While it is only a denial of service attack,
and while there are plenty of denial of service attacks
to hanging out, should be eliminate this one? The down
side would be that we would wind up constructing lots
more Colors, since they can't be re-used. Which means
we have more chances for forgetting to gc the darn
things, in addition to burning resources like crazy.
Current answer is, anyone can do getForeground,
getBackground, and getFont on any panel they have a
capability on. I see no issue with this except denial
of service.