亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? comparingitemproperty.java

?? vc ADO 連接數據庫
?? JAVA
字號:
//******************************************************************************
// ComparingItemProperty.java:	Applet
//
//******************************************************************************
import java.applet.*;
import java.awt.*;
import com.ms.com.*;
import msado15.*;

//==============================================================================
// Main Class for applet ComparingItemProperty
//
//==============================================================================
public class ComparingItemProperty extends Applet implements Runnable
{
	// THREAD SUPPORT:
	//		m_ComparingItemProperty	is the Thread object for the applet
	//--------------------------------------------------------------------------
	private Thread	 m_ComparingItemProperty = null;

	// ANIMATION SUPPORT:
	//		m_Graphics		used for storing the applet's Graphics context
	//		m_Images[]		the array of Image objects for the animation
	//		m_nCurrImage	the index of the next image to be displayed
	//		m_ImgWidth		width of each image
	//		m_ImgHeight		height of each image
	//		m_fAllLoaded	indicates whether all images have been loaded
	//		NUM_IMAGES 		number of images used in the animation
	//--------------------------------------------------------------------------
	private Graphics m_Graphics;
	private Image	 m_Images[];
	private int 	 m_nCurrImage;
	private int 	 m_nImgWidth  = 0;
	private int 	 m_nImgHeight = 0;
	private boolean  m_fAllLoaded = false;
	private final int NUM_IMAGES = 18;


	// ComparingItemProperty Class Constructor
	//--------------------------------------------------------------------------
	public ComparingItemProperty()
	{
		// TODO: Add constructor code here
	}

	// APPLET INFO SUPPORT:
	//		The getAppletInfo() method returns a string describing the applet's
	// author, copyright date, or miscellaneous information.
    //--------------------------------------------------------------------------
	public String getAppletInfo()
	{
		return "Name: ComparingItemProperty\r\n" +
		       "Author: Don Willits\r\n" +
		       "Created with Microsoft Visual J++ Version 1.1";
	}


	// The init() method is called by the AWT when an applet is first loaded or
	// reloaded.  Override this method to perform whatever initialization your
	// applet needs, such as initializing data structures, loading images or
	// fonts, creating frame windows, setting the layout manager, or adding UI
	// components.
    //--------------------------------------------------------------------------
	public void init()
	{
        // If you use a ResourceWizard-generated "control creator" class to
        // arrange controls in your applet, you may want to call its
        // CreateControls() method from within this method. Remove the following
        // call to resize() before adding the call to CreateControls();
        // CreateControls() does its own resizing.
        //----------------------------------------------------------------------
    	resize(320, 240);

		// TODO: Place additional initialization code here
	}

	// Place additional applet clean up code here.  destroy() is called when
	// when you applet is terminating and being unloaded.
	//-------------------------------------------------------------------------
	public void destroy()
	{
		// TODO: Place applet cleanup code here
	}

    // ANIMATION SUPPORT:
    //		Draws the next image, if all images are currently loaded
    //--------------------------------------------------------------------------
	private void displayImage(Graphics g)
	{
		if (!m_fAllLoaded)
			return;

		// Draw Image in center of applet
		//----------------------------------------------------------------------
		g.drawImage(m_Images[m_nCurrImage],
				   (size().width - m_nImgWidth)   / 2,
				   (size().height - m_nImgHeight) / 2, null);
	}

	// ComparingItemProperty Paint Handler
	//--------------------------------------------------------------------------
	public void paint(Graphics g)
	{
		// ANIMATION SUPPORT:
		//		The following code displays a status message until all the
		// images are loaded. Then it calls displayImage to display the current
		// image.
		//----------------------------------------------------------------------
		if (m_fAllLoaded)
		{
			Rectangle r = g.getClipRect();
			
			g.clearRect(r.x, r.y, r.width, r.height);
			displayImage(g);
		}
		else
			g.drawString("Loading images...", 10, 20);

		// TODO: Place additional applet Paint code here
	}

	//		The start() method is called when the page containing the applet
	// first appears on the screen. The AppletWizard's initial implementation
	// of this method starts execution of the applet's thread.
	//--------------------------------------------------------------------------
	public void start()
	{
		if (m_ComparingItemProperty == null)
		{
			m_ComparingItemProperty = new Thread(this);
			m_ComparingItemProperty.start();
		}
		// TODO: Place additional applet start code here
	}
	
	//		The stop() method is called when the page containing the applet is
	// no longer on the screen. The AppletWizard's initial implementation of
	// this method stops execution of the applet's thread.
	//--------------------------------------------------------------------------
	public void stop()
	{
		if (m_ComparingItemProperty != null)
		{
			m_ComparingItemProperty.stop();
			m_ComparingItemProperty = null;
		}

		// TODO: Place additional applet stop code here
	}

	// THREAD SUPPORT
	//		The run() method is called when the applet's thread is started. If
	// your applet performs any ongoing activities without waiting for user
	// input, the code for implementing that behavior typically goes here. For
	// example, for an applet that performs animation, the run() method controls
	// the display of images.
	//--------------------------------------------------------------------------
	public void run()
	{
		m_nCurrImage = 0;
		
		// If re-entering the page, then the images have already been loaded.
		// m_fAllLoaded == TRUE.
		//----------------------------------------------------------------------
        if (!m_fAllLoaded)
		{
    		repaint();
    		m_Graphics = getGraphics();
    		m_Images   = new Image[NUM_IMAGES];

    		// Load in all the images
    		//------------------------------------------------------------------
    		MediaTracker tracker = new MediaTracker(this);
    		String strImage;

    		// For each image in the animation, this method first constructs a
    		// string containing the path to the image file; then it begins
    		// loading the image into the m_Images array.  Note that the call to
    		// getImage will return before the image is completely loaded.
    		//------------------------------------------------------------------
    		for (int i = 1; i <= NUM_IMAGES; i++)
    		{
    			// Build path to next image
    			//--------------------------------------------------------------
    			strImage = "images/img00" + ((i < 10) ? "0" : "") + i + ".gif";
			    m_Images[i-1] = getImage(getDocumentBase(), strImage);

                tracker.addImage(m_Images[i-1], 0);
    		}

    		// Wait until all images are fully loaded
    		//------------------------------------------------------------------
			try
			{
				tracker.waitForAll();
				m_fAllLoaded = !tracker.isErrorAny();
			}
			catch (InterruptedException e)
			{
				// TODO: Place exception-handling code here in case an
				//       InterruptedException is thrown by Thread.sleep(),
				//		 meaning that another thread has interrupted this one
			}
			
			if (!m_fAllLoaded)
			{
			    stop();
			    m_Graphics.drawString("Error loading images!", 10, 40);
			    return;
			}
			

			// Assuming all images are same width and height.
			//--------------------------------------------------------------
		    m_nImgWidth  = m_Images[0].getWidth(this);
		    m_nImgHeight = m_Images[0].getHeight(this);
        }		
		repaint();

		while (true)
		{
			try
			{
				// Draw next image in animation
				//--------------------------------------------------------------
				displayImage(m_Graphics);
				m_nCurrImage++;
				if (m_nCurrImage == NUM_IMAGES)
					m_nCurrImage = 0;

				// TODO:  Add additional thread-specific code here
				Thread.sleep(50);
			}
			catch (InterruptedException e)
			{
				// TODO: Place exception-handling code here in case an
				//       InterruptedException is thrown by Thread.sleep(),
				//		 meaning that another thread has interrupted this one
				stop();
			}
		}
	}



    public static void main( String args[])
    {
        msado15._Recordset   Rs1 = new msado15.Recordset();
        Variant Source     = new Variant( "SELECT * FROM Authors" );
        Variant Connect    = new Variant( "DSN=AdoDemo;UID=admin;PWD=;" );
        int     LockType   = msado15.CursorTypeEnum.adOpenForwardOnly;
        int     CursorType = msado15.LockTypeEnum.adLockReadOnly;
        int     Options    = -1;

        Rs1.Open( Source, Connect, LockType,  CursorType, Options );

        Variant v  = new Variant();
        Variant v1 = new Variant();

        v1.putInt( 0 );
        v = Rs1.getFields().getItem( v1 ).getValue();

        v1.putString( "Au_ID" );
        v = Rs1.getFields().getItem( v1 ).getValue();



        Rs1.Close();
        Rs1 = null;

        System.out.println( "Success!\n" );
    }

}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
麻豆成人91精品二区三区| 欧美不卡123| 夜夜精品视频一区二区 | 国产露脸91国语对白| 精品国产百合女同互慰| 国产乱淫av一区二区三区| 国产精品热久久久久夜色精品三区| 国产成人在线视频网址| 亚洲欧洲日产国码二区| 欧美午夜免费电影| 奇米精品一区二区三区在线观看| 日韩视频一区在线观看| 国产成人亚洲综合a∨婷婷| 亚洲欧洲日韩综合一区二区| 在线中文字幕一区二区| 免费在线成人网| 中文字幕+乱码+中文字幕一区| 色美美综合视频| 免费看日韩精品| 中文字幕在线观看一区二区| 欧美这里有精品| 国产在线一区二区综合免费视频| 国产精品乱码一区二区三区软件| 欧美亚洲禁片免费| 国产一区二三区好的| 一区二区三区高清| 精品播放一区二区| 91福利视频网站| 国产一区中文字幕| 一区二区三区资源| 久久综合色之久久综合| 欧美在线不卡一区| 国产高清亚洲一区| 亚洲v精品v日韩v欧美v专区| 久久久久久电影| 26uuu亚洲综合色欧美 | 激情五月婷婷综合| 欧美日韩在线一区二区| 欧美va日韩va| 亚洲国产精品黑人久久久| 亚洲午夜久久久久久久久电影网 | 久久99精品久久久久婷婷| 1024亚洲合集| 精品福利一区二区三区| 欧美视频完全免费看| 不卡的av电影| 国产美女精品在线| 五月天精品一区二区三区| 中文字幕欧美一| 久久亚洲精精品中文字幕早川悠里 | 国产精品免费免费| 精品国产污污免费网站入口| 欧美日韩国产一二三| 99视频精品在线| 国产精品一区二区久久不卡| 免费高清在线一区| 亚洲1区2区3区4区| 亚洲午夜在线电影| 亚洲精品五月天| 国产精品高潮呻吟久久| 337p日本欧洲亚洲大胆精品| 欧美一级午夜免费电影| 欧美日韩性生活| 欧美性色黄大片手机版| 在线亚洲人成电影网站色www| 成人av网址在线观看| 国产白丝精品91爽爽久久| 国产另类ts人妖一区二区| 国内精品自线一区二区三区视频| 免费三级欧美电影| 秋霞影院一区二区| 奇米色777欧美一区二区| 日本视频一区二区| 日本欧美韩国一区三区| 午夜精品免费在线观看| 亚洲国产一区二区在线播放| 午夜视频在线观看一区二区 | 日韩精品一区二区三区老鸭窝| 欧美亚洲一区二区在线| 欧美亚洲国产一区二区三区va | 国产日韩视频一区二区三区| 精品欧美黑人一区二区三区| 精品日韩av一区二区| 精品国产一区二区精华| 国产视频在线观看一区二区三区| 国产欧美一区二区精品婷婷| 国产精品久久久久久久久晋中| 国产日韩欧美精品综合| 综合久久国产九一剧情麻豆| 亚洲一区在线电影| 偷拍日韩校园综合在线| 美国十次综合导航| 国产成人夜色高潮福利影视| 91香蕉视频mp4| 欧美日韩午夜在线视频| 日韩免费在线观看| 国产日韩精品一区| 亚洲综合免费观看高清完整版在线| 亚洲色欲色欲www| 亚洲国产精品久久一线不卡| 久久精品理论片| aa级大片欧美| 欧美男女性生活在线直播观看| 日韩欧美中文一区二区| 国产午夜亚洲精品午夜鲁丝片| 亚洲人成影院在线观看| 日韩一区精品视频| 成人毛片老司机大片| 在线视频你懂得一区二区三区| 日韩一区二区高清| 中文一区在线播放| 日韩专区在线视频| 国产a精品视频| 欧美在线不卡视频| 久久综合九色综合欧美98| 亚洲视频每日更新| 激情综合色综合久久| 色综合天天在线| 2017欧美狠狠色| 一区二区三区欧美视频| 激情五月激情综合网| 91浏览器在线视频| 久久精品视频在线免费观看 | 青青草97国产精品免费观看无弹窗版| 国产又粗又猛又爽又黄91精品| 在线欧美一区二区| 久久久激情视频| 日日欢夜夜爽一区| 一本久久a久久精品亚洲| 精品久久久久久亚洲综合网| 亚洲国产乱码最新视频| 成人免费视频免费观看| 欧美mv日韩mv| 亚洲gay无套男同| av电影一区二区| 久久久久久影视| 麻豆国产精品一区二区三区| 91福利国产精品| 国产精品久久久久久妇女6080| 毛片av中文字幕一区二区| 欧美日韩五月天| 亚洲综合男人的天堂| 99久久精品国产精品久久| 国产目拍亚洲精品99久久精品| 免费不卡在线观看| 奇米影视在线99精品| 国产日韩精品视频一区| 日韩欧美高清一区| 欧美一区二区三区系列电影| 另类小说视频一区二区| 国产日韩视频一区二区三区| 在线播放中文字幕一区| 国产自产视频一区二区三区| 久久久一区二区三区| 97久久精品人人做人人爽| 亚洲在线视频一区| 亚洲色图欧洲色图| 亚洲国产高清在线| 久久久噜噜噜久久人人看 | 欧美性猛片aaaaaaa做受| 一本色道久久综合亚洲91| 欧美影院一区二区三区| 精品国产成人在线影院| 亚洲婷婷国产精品电影人久久| 亚洲天堂免费在线观看视频| 亚洲一区欧美一区| 国产91丝袜在线播放九色| 日韩一区二区电影| 亚洲免费成人av| 亚洲激情在线激情| 亚洲国产岛国毛片在线| 精品国产3级a| 久久久久久麻豆| 国产亚洲综合性久久久影院| 欧美一区二区三区视频| 日韩视频在线观看一区二区| 欧美一区二区观看视频| 日韩一区二区三区在线视频| 2017欧美狠狠色| 国产精品超碰97尤物18| 欧美国产成人精品| 亚洲欧美综合另类在线卡通| 日韩精品乱码av一区二区| 日韩午夜精品视频| 国产成人精品免费网站| 亚洲人成网站色在线观看| 欧美私人免费视频| 另类的小说在线视频另类成人小视频在线| 欧美电影免费观看高清完整版在线观看| 久久精品国产一区二区三区免费看| 欧美不卡一区二区三区四区| 国产精品一区二区在线观看不卡| 中文字幕一区av| 7799精品视频| 成人性视频免费网站| 亚瑟在线精品视频| 国产日韩视频一区二区三区| 欧美在线影院一区二区| 精品综合久久久久久8888| 亚洲欧洲国产日本综合|