Search:

Type: Posts; User: Norm

Search: Search took 0.09 seconds.

  1. Re: Adding components to my GUI over a background image

    I think it is because JPanel extends JComponent which has useful Swing methods and features.
    JFrame extends Frame which doesn't.
  2. Re: Adding components to my GUI over a background image

    You should move this code outside of the paint method so you only have to load the image one time.


    URL bg = fdmgcalc.class.getResource("bg.png");
    Image bgpic =...
Results 1 to 2 of 2