GCC Bugzilla – Attachment 11402 Details for
Bug 27481
JInternalFrame opacity problem
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
TestCase showing the problem
Background.java (text/x-java), 538 bytes, created by
Yvan Norsa
on 2006-05-08 08:48:27 UTC
(
hide
)
Description:
TestCase showing the problem
Filename:
MIME Type:
Creator:
Yvan Norsa
Created:
2006-05-08 08:48:27 UTC
Size:
538 bytes
patch
obsolete
>import java.awt.Color; > >import javax.swing.JFrame; >import javax.swing.JInternalFrame; >import javax.swing.JPanel; > >public class Background { > public static void main(String[] args) { > JFrame f = new JFrame(); > JPanel p = new JPanel(); > > JInternalFrame iframe = new JInternalFrame(); > iframe.setBackground(Color.green); > > JPanel iP = new JPanel(); > iP.setOpaque(false); > iframe.add(iP); > > iframe.setVisible(true); > p.add(iframe); > > f.setContentPane(p); > > f.setSize(300, 300); > f.setVisible(true); > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 27481
: 11402