y‰SŽÒzJavaŽ¿–⥑ ..
428:ƒfƒtƒHƒ‹ƒg‚Ì–¼–³‚µ‚³‚ñ
07/07/06 00:13:18
>>420‚ðŒ©‚ÄAWindows L&F‚É‚·‚邯JFileChooser‚É“K؂ȃAƒCƒRƒ“‚ª•\ަ‚³‚ê‚邱‚Æ‚ðŽv‚¢o‚µ‚½B
‚ÅAu‚à‚µ‚âHv‚ÆŽv‚Á‚ÄŽŽ‚µ‚Ă݂½B
ãŽè‚‚¢‚Á‚½‚¼B‚±‚ñ‚ȃR[ƒhB
JFileChooser chooser = new JFileChooser();
FileChooserUI ui = chooser.getUI();
FileView fileView = ui.getFileView(chooser);
JLabel pdfIcon = new JLabel("*.pdf");
Icon pdfIcon = fileView.getIcon(new File("a.pdf"));
pdfLabel.setIcon(pdfIcon);
‚±‚ñ‚ȃR[ƒh‚ðJTree‚̃Œƒ“ƒ_ƒ‰‚ÉŽdž‚ß‚ÎA
JTree‚̃m[ƒh‚ɑΉž‚·‚é‚·‚ׂẴtƒ@ƒCƒ‹‚ɑ΂µ‚ÄA“K؂ȃAƒCƒRƒ“‚ª•\ަ‚³‚ê‚éB
‚à‚¿‚ë‚ñAWindows L&FŒÀ’肾‚ªB
FileView#getIcon(File)‚ÉŽw’è‚·‚éƒtƒ@ƒCƒ‹‚ÍA‘¶Ý‚µ‚È‚¢‚ÆFileNotFoundException‚ª”¶‚µ‚½B
ŽŸƒy[ƒW‘±‚«‚ð•\ަ1‚ð•\ަÅVƒŒƒX•\ަƒXƒŒƒbƒh‚ÌŒŸõ—ÞŽ—ƒXƒŒˆê——˜b‘è‚̃jƒ…[ƒX‚¨‚Ü‚©‚¹ƒŠƒXƒg¥ƒIƒvƒVƒ‡ƒ“‚ð•\ަ‰É‚‚Ԃµ2ch
5033“ú‘O‚ÉXV/271 KB
’S“–:undef