Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 206803 Details for
Bug 283248
[java-overlay] dev-java/icedtea6 fails to use media-libs/jpeg-7
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
small java program to test image loading
JpgTest.java (text/plain), 557 bytes, created by
Florian Scandella
on 2009-10-11 19:25:09 UTC
(
hide
)
Description:
small java program to test image loading
Filename:
MIME Type:
Creator:
Florian Scandella
Created:
2009-10-11 19:25:09 UTC
Size:
557 bytes
patch
obsolete
> >import javax.swing.*; >import java.awt.event.*; > >public class JpgTest extends JFrame >{ > > public JpgTest (String filename) > { > JButton x=new JButton(filename); > x.setIcon(new ImageIcon(filename)); > x.addActionListener(new ActionListener() > { > public void actionPerformed(ActionEvent e) > { > dispose(); > } > }); > add(x); > pack(); > } > > public static void main (String [] args) > { > if(args.length!=1) > System.out.println("usage: java JpgTest <image.jpg>"); > else > new JpgTest(args[0]).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 283248
:
203792
| 206803