⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 waitingview.java

📁 手机无线网络纸牌游戏源代码。非常适合学习使用
💻 JAVA
字号:
// WaitingView.java
//
// Copyright (c) 2000-2001 Symbian Ltd. All rights reserved

package com.symbian.devnet.whist.awt;

import java.io.*;

import java.awt.*;
import java.awt.Image.*;
import java.awt.Graphics.*;
import com.symbian.devnet.quartz.awt.*;

/** 
 * Allows some ingformation to be displayed while the user is waiting for
 * the game to be set up.
 * @author Symbian Devnet
 */
public class WaitingView
{
	/** The <code>Panel</code> used to display the information on. */
	private Panel panel;
	/** A <code>Label</code> which contains the message to be displayed */
	private Label label1 = new Label("A message has been sent to the other players, /n configuring their machines for the game. /nPlease wait as this may take some time", Label.CENTER); 

	/**
	 * Constructor which displays the relevant message on the screen.
	 */
	public WaitingView(Panel p)
	{
		panel = p;
		panel.setLayout(new GridLayout(1,1));
		panel.add(label1);
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -