Results 1 to 4 of 4

Thread: Trouble of imbrication JLabel on JFrame with background

  1. #1
    Carlessa Saldanha is offline Junior Member
    Join Date
    Dec 2011
    Posts
    16
    Rep Power
    0

    Default Trouble of imbrication JLabel on JFrame with background

    For my aboriginal Java affairs I try to accomplish a angry game. But I accept a botheration to "overlay" things. For my accomplishments I created a chic acquired from JFrame BGFrame to accede "ease" the screen. It works. But back I demand to add article over which it no best works. In added words, I am accepting overlapping botheration JLabel on JFrame with background

  2. #2
    Carmensita Teles is offline Junior Member
    Join Date
    Dec 2011
    Posts
    15
    Rep Power
    0

    Default

    Rather include your panel to your tag and remember your common java GUI too, because as you looked starts, you will soon no longer search you there.

  3. #3
    Carnelian Tavares is offline Junior Member
    Join Date
    Dec 2011
    Posts
    16
    Rep Power
    0

    Default

    My panel linkage? Include it where? I break the background and the various panel that I will include "over" I never had any court so yes, I deficiency the commons for confirm. Could you assure me how to do this simply and cleanly level Its my BG Frame not well?

  4. #4
    Carody Valles is offline Junior Member
    Join Date
    Dec 2011
    Posts
    14
    Rep Power
    0

    Default

    Paper wants to say that you should put your JLabel in the JPanel and not in the JFrame, back it is the JPanel which contains the angel accomplishments and not the window itself. So you accumulate a advertence to your console and you add your characterization inside. And in any case you can not alarm add () on a JFrame to put central a Swing component, add () adjustment is aloof for the AWT Frames. In Swing, it charge be getContentPane().add() like you do accept to add the console to your window elsewhere.

Similar Threads

  1. CSS background position
    By DavisNelson in forum Programming
    Replies: 2
    Last Post: 01-14-2010, 03:35 PM
  2. Replies: 2
    Last Post: 01-13-2010, 05:25 PM
  3. Google Background Changer 0.3.1
    By Alan Knott in forum Download Tools and Softwares
    Replies: 0
    Last Post: 09-30-2009, 08:15 AM
  4. Find your background in windows
    By Edgardo Chappel in forum Windows XP
    Replies: 1
    Last Post: 07-01-2009, 07:43 AM
  5. Add background audio
    By Madge555 in forum Applications
    Replies: 0
    Last Post: 12-05-2008, 11:29 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48