Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

JavaÖл­´øÓмýÍ·µÄÏ߶Î

×î½üÓÉÓÚÒª»­»î¶¯Í¼£¬ËùÒÔÐèÒª»­´øÓмýÍ·µÄÏ߶Σ¬ÓÚÊǽáºÏÓйØ×ÊÁÏ£¬Ð´³öÁËÕâ¸ö·½·¨¡£
import java.awt.*;
import javax.swing.*;
import java.awt.geom.*;
public class test//¶ÁÕß¿ÉÒÔ¸ü¸ÄÀàtestµÄÃû×Ö£¬ÒÔÊʺÏ×Ô¼º¶¨ÒåµÄ.javaÎļþ£¬ÒòΪËüÖ»ÊÇÓÃÀ´²âÊԵġ£
{
 public static void main (String args[]){
     DrawFrame frame=new DrawFrame();
     frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
     frame.setVisible(true);
    }
}
class DrawFrame extends JFrame
 {
 public DrawFrame()
 {
 setTitle("Activity Diagram"); 
 setSize(DEFAULT_WIDTH,DEFAULT_HEIGHT);
// add panel to frame
 ArrowLinePanel panel=new ArrowLinePanel();
 add(panel);
 }
// »î¶¯Í¼´°¿Ú´óС
 public static final int DEFAULT_WIDTH=1000;
 public static final int DEFAULT_HEIGHT=800;
 }
 class ArrowLinePanel extends JPanel
{
 // confirm the line position
 
 public ArrowLinePanel()
 {
  setBackground(Color.white);
 }
 public void paintComponent(Graphics g)
 {
  super.paintComponent(g);
 
 Graphics2D g2=(Graphics2D) g; 
  g2.setPaint(Color.black);
 drawAL(x1, y1, x2, y2, g2)£»//ÕâÀïx1, y1, x2, y2±ØÐëÒªÉùÃ÷²¢ÇÒ³õʼ»¯£¬¶ø¾ßÌåÉùÃ÷µÄλÖúͳõʼ»¯µÄÖµ
//ÓɱàÕß×Ô¼º¾ö¶¨£¬ÔÚÕâÀ±ÊÕßûÓÐÉùÃ÷ËüÃÇ¡£
}
 public static void drawAL(int sx, int sy, int ex, int ey,Graphics2D g2)
{
        double  H  =   6 ;  // ¼ýÍ·¸ß¶È   
         double  L  =   6 ; // µ×±ßµÄÒ»°ë  
         int  x3  =   0 ;
         int  y3  =   0 ;
         int  x4  =   0


Ïà¹ØÎĵµ£º

java¼ÆËãÁ½¸öÊýÊÇ·ñÎó²îÔÚ°Ù·ÖÖ®¼¸

ÒÔÏÂÊǼÆËãÁ½¸öÊýÎó²îÊÇ·ñÔÚ10% £¬Èç¹ûÔÚ10%ÒÔÄÚÊÇÕý³££¬ÆäËûÊDz»Õý³££¬ÓýÏСµÄÊý*10%+ÓýÏСµÄÊý=ÓýÏСµÄÊý*1.1%
double costNum =2;//µç·Ñƽ¾ùÈÕµçÁ¿
double amountNum =3; //µçÁ¿Æ½¾ùÈÕµçÁ¿

if(amountNum ......

javaÃæÊÔÌâ

1  ×Ö·û´®±È½ÏÊÇ·ñÏàµÈÓÃʲô·½·¨£¿
2 equals£¨£©ºÍhashCode£¨£©µÄÇø±ð£¿
3 forwardºÍsenRedirectÇø±ð£¿
4 servletÉúÃüÖÜÆÚ£¿
5 ¹ýÂËÆ÷µÄ×÷ÓÃ
6 JSP°üº¬¾²Ì¬ÎļþµÄÓï·¨
7 JSP×¢ÊÍ£¨ÖÁÉÙÁ½¸öÒÔÉÏ£©
8 tableÖÐborder£¬cellpadding,tdÖÐcolspan,rowspanµÄÒâÒå
9 jsÈýÖÖµ¯³ö´°¿Ú a ¾¯¸æ  b È·ÈÏ  c ÐÅÏ¢ ......

±±¾© ÁõÓñÇ¿ Èí¼þ¹¤³Ìʦ ¼òÀú java php

±±¾© ÁõÓñÇ¿ Èí¼þ¹¤³Ìʦ ¼òÀú java php
ÇóÖ°¼òÀú
·  »ù±¾ÐÅÏ¢
ÐÕ    Ãû:
ÁõÓñÇ¿
³öÉúÈÕÆÚ:
1988Äê10ÔÂ23ÈÕ
 
ÐÔ    ±ð:
ÄÐ
Ãñ    ×å:
ºº×å
ר    Òµ£º
Èí¼þ¼¼Êõ
½¡¿µ×´¿ö:
½¡¿µ
E - Mail:
mengxiangbaidu@qq.com
ÁªÏµµç»° ......

´«ÖDz¥¿ÍjavaÅàѵ2010Äê4ÔÂ23ÈÕ(hibernate)ѧϰ

½ñÌìÌý¿Î²ÅÖªµÀ×Ô¼º×ÔѧµÄhibernate¿ÉÒÔËãµÃÉÏÊÇһ̣ºýÍ¿£¬ÒòΪ֮ǰ¿´HibernateµÄÊé¿´ÁË¿´¼¸±é¶¼Ã»Óи㶮£¬½ñÌìÌýÁËÒ»ÌìµÄ¿Î£¬ºÜ¶à¶«Î÷¾Í»íÈ»¿ªÀÊ£¬ËùÒÔԤϰҲÊǺÜÖØÒªµÄ£¬ÄÇÅÂÊÇûÓп´¶®£¬µ«ÖÁÉÙÒ²ÓÐÓ¡Ïó¡£ ½ñÌìÉϿεĽø³Ì±È½Ï¿ì£¬ÐìÅà³ÉÀÏʦ½²¿Î£¬ÎÒÖ»ÄÜÓá°Ç¿º·¡±Á½¸ö×ÖÀ´ÐÎÈÝ£¬ÉÏ¿Îʱ¾«Á¦³äÅ棬ÓïËٿ죨µ«ÌýµÃºÜÇåÎú£¬¼ ......

JavaÖÐÈçºÎµ÷ÓÃVCµÄ¶¯Ì¬¿â

ÒÔǰһƪµÄDLLΪÀý²ûÊöJavaÈçºÎµ÷Óö¯Ì¬¿â
Ä¿Ç°´æÔÚÒ»¸öVC±àÒëµÄ·ÇMFC¶¯Ì¬¿âDLL£¨¾ßÌåÈçºÎÉú³É·ÇMFC¶¯Ì¬¿âDLL¼ûǰһƪÎÄÕ£©£¬Ãû³ÆΪmydll.dll£¬ÆäÖÐÓе¼³öº¯Êýmyadd£ºÐÎÈ磺int myadd(int,int)£¬ÏÖjavaÓ¦ÓóÌÐòÐèÒªµ÷Óøö¯Ì¬¿âµÄmyaddº¯Êý¡£¾ßÌåʵÏÖ²½ÖèÈçÏ£º
1¡¢±àдµ÷ÓÃmydll.dllµÄjava³ÌÐò
£¨1£©³ÌÐòtestMyDll .ja ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ