最新回答 / _潇潇暮雨
window->preference->java->Editor->Conent Assist->Auto activation triggers for Java,这样就不需要按住Alt+/了。<...图片...> 在右边的那个红色的圆圈里面输入.qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM然后点击OK。
2015-02-04
MediaTrack t=new MediaTracker();
t.addImage(img,id);
getColor();
setColor
setFont
setFont
getClip();
setClip intintintint
t.addImage(img,id);
getColor();
setColor
setFont
setFont
getClip();
setClip intintintint
2015-01-29
JList(Object[] listData);
Graphics Graphics Fraphics
drawLine(int x1,int y1,int x2,int y2);
drawRect();
drawRoundRect;
drawArc();
drawOval;
Graphics Graphics Fraphics
drawLine(int x1,int y1,int x2,int y2);
drawRect();
drawRoundRect;
drawArc();
drawOval;
2015-01-29
JCheckBox(String text,Icon icon,boolean selected);
JRadioButton(String text,boolean selected);
JXomboBox(Object[] items);
JRadioButton(String text,boolean selected);
JXomboBox(Object[] items);
2015-01-29
JLable();
JLabel(String labeltext);
JTextField();
JTextField(int columns);
JTextField(String s);
JTextArea();
JTextArea(int rows,int cols);
JTextArea(String text,int rows,int cols);
JLabel(String labeltext);
JTextField();
JTextField(int columns);
JTextField(String s);
JTextArea();
JTextArea(int rows,int cols);
JTextArea(String text,int rows,int cols);
2015-01-29
class IconTest extends PanelTest{
JButton buttonObj;
ImageIcon iconObj;
public TconTest(){
iconObj=new ImageIcon("temp.jpg");
buttonObj=new JButton(iconObj);
panelObj.add(buttonObj);}
JButton buttonObj;
ImageIcon iconObj;
public TconTest(){
iconObj=new ImageIcon("temp.jpg");
buttonObj=new JButton(iconObj);
panelObj.add(buttonObj);}
2015-01-29
String data=br.readline();
while(data!=null){
system.out.
while(data!=null){
system.out.
2015-01-28
使用URL读取网页内容:
URL url=new URL();
url.openStream();
InputStream is=url.openStream();
InputStreamReader isr=new InputSteamReader();
URL url=new URL();
url.openStream();
InputStream is=url.openStream();
InputStreamReader isr=new InputSteamReader();
2015-01-28