Re: setting a background image of JPanel

From: Paul Lutus (nospam_at_nosite.zzz)
Date: 08/29/04


Date: Sat, 28 Aug 2004 20:23:51 -0700

Passero wrote:

> How can i set a background image of a JPanel that also rescale's when the
> window is rescalling?

Use Image.getScaledInstance to change the image size every time the frame is
resized.

-- 
Paul Lutus
http://www.arachnoid.com


Relevant Pages

  • Re: persistent TCP connection over page reloads ?
    ... say a frame or another window. ... The global execution context: no. ... globalStorage & userData (this is very unlikely to work, ...
    (comp.lang.javascript)
  • Re: Need help with time stretching using STFT
    ... data from the input buffer, applies a linear window function, ... frequency of the sinusoid that ... then knowing what the frequency is, if the previous frame has a bump ... adjust is the value of that common time displacement. ...
    (comp.dsp)
  • RE: multiple modal dialogs
    ... There are two different ways of showing dialogs: ... Modal dialog (and any window for that matter) runs on the top of all ... While modal dialog relies on own message loop modeless relies on application ... that these frame windows can have there own modal ...
    (microsoft.public.vc.mfc)
  • TCP/IP connections problems on Win2003 Entreprise Server
    ... Time since reference or first frame: ... Flags: 0x04 (Don't Fragment) ... Header checksum: 0x16eb ... Window scale: 0 ...
    (microsoft.public.windows.server.networking)
  • Re: [9fans] acme
    ... or so) versions of Acme. ... that frame in case it is visible, ... both tagline, and regular frame. ... but there are window layout problems. ...
    (comp.os.plan9)