开发者

Java missing libraries

I'm using Eclipse on Mac OS X 10.6.6.

For some reason when I'm trying to import the following librar开发者_运维技巧ies I get this error:-

java.apt (only java.apt.font is available)
javax.swing

The system is fully updated with the recent updates

Thanks in advance


Are you doing

import javax.swing;

or are you doing

import javax.swing.*;

The difference is very important.

As a general rule, I try to import only the exact classes I need.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜