你说的是java三个分支中j2se中的applet概念。java的应用很广,例子很多。推荐给楼主几个比较好的站点:有时间去看看吧.http://www.wenhui.org/http://www.chinajavaworld.com/http://www.cn-java.com/

解决方案 »

  1.   

    java可以做应用程序,如永中office,jb等
    小例如下:
      public Hello
       {
         public static void main(String args[])
           {
             System.out.println("Hello World");
            }
       }
      

  2.   

    可以做的,用Frame类就行了,可以做出windows的窗口程序
      

  3.   

    当然可以啊,你可以用awt、swing来设计界面嘛
      

  4.   

    其慢无比,应用程序暂时还是不要考虑JAVA吧,你一定要跨平台?
      

  5.   

    j2se就可以做这个,不过好像和其他语言比没什么优势
      

  6.   

    application就是java做的应用程序啊Jbuilder就是java做的吧?
      

  7.   

    拷贝一下试试看:
    import javax.swing.*;
    import javax.swing.text.*;
    import java.awt.event.*;
    import java.awt.*;public class JTextPane1{        private JTextPane textPane;
            
    public JTextPane1(){ textPane = new JTextPane();
    textPane.setBackground(Color.black);
    textPane.setEditable(false);
    }//end of ColorWord()

    public void setYellow_Bold_20(String str){ SimpleAttributeSet attrset = new SimpleAttributeSet();
    StyleConstants.setForeground(attrset, Color.yellow);
    StyleConstants.setBold(attrset, true);
    StyleConstants.setFontSize(attrset, 20);
    insert(str, attrset);
    }//end of setYellow_Bold_20() public void setBlue_Italic_Bold_22(String str){ SimpleAttributeSet attrset = new SimpleAttributeSet();
    StyleConstants.setForeground(attrset, Color.blue);
    StyleConstants.setItalic(attrset, true);
    StyleConstants.setBold(attrset, true);
    StyleConstants.setFontSize(attrset, 22);
    insert(str, attrset);
    }//end of setBlue_Italic_22() public void setRed_UnderLine_Italic_24(String str){ SimpleAttributeSet attrset = new SimpleAttributeSet();
    StyleConstants.setForeground(attrset, Color.red);
    StyleConstants.setUnderline(attrset, true);
    StyleConstants.setItalic(attrset, true);
    StyleConstants.setFontSize(attrset, 24);
    insert(str, attrset);
    }//end of setRed_UnderLine_Italic_24()

    public void insert(String str, AttributeSet attrset){ Document docs = textPane.getDocument();
    str = str + "\n";
    try{
      docs.insertString(docs.getLength(), str, attrset);
    }catch(BadLocationException ble){
      System.out.println("BadLocationException: "+ble);
    }
    }//end of insert()

    public Component getComponent(){
    return textPane;
    } public static void main(String[] args){

    JTextPane1 pane = new JTextPane1();
    pane.setYellow_Bold_20("This is Line 1, yellow, Bold, Size 20");
    pane.setBlue_Italic_Bold_22("This is Line 2, blue, Italic, Bold,Size 22");
    pane.setRed_UnderLine_Italic_24("This is Line 3, red, UnderLine,Italic, Size 24");

    JFrame f = new JFrame("JTextPane1");
    f.getContentPane().add(pane.getComponent());
    f.setSize(450,180);
         f.show(); 
         f.addWindowListener(new WindowAdapter() {            
           public void windowClosing(WindowEvent e) {                    
             System.exit(0);            
           }        
         });
    }//end of main()
    }//end of class JTextPane1
      

  8.   

    应用程序暂时还是不要考虑JAVA吧
    除非你要跨平台