display text in JPanel?
807606Apr 4 2007 — edited Apr 4 2007I was just wondering if there is a method to display text in a JPanel.. for example:
---------
JPanel contentPane = new JPanel(new BorderLayout());
contentPane.putln("This is a text");
---------
or something to that effect. Or is this something it would be better to use an applet for? Thanks,
dub stylee