登录
首页 » Java » pressluck

pressluck

于 2011-10-20 发布 文件大小:297KB
0 219
下载积分: 1 下载次数: 9

代码说明:

  碰运气的游戏, 点击可以获得随机生成的礼物,实施手气吧。(Luck of the game, click on the gift can be randomly generated, the implementation I m feeling it. )

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • java按bit操作工具类
    资源描述java 按bit操作,实现二进制,八进制,十进制,16进制数据的自由转换
    2022-07-14 23:13:56下载
    积分:1
  • 时钟小程序
    这个Java小程序可能附带警告或者阻止浏览器。在这种情况下,我们建议您使用我们的普通版代替。
    2023-01-13 17:45:04下载
    积分:1
  • Android文本阅读器
    Android文本阅读器
    2014-11-01下载
    积分:1
  • TestMapReduceProject
    运行于hadoop上的 MapReduce WordCount程序(Running on a MapReduce WordCount program hadoop)
    2020-06-30 02:40:02下载
    积分:1
  • 仿android市场多应用同时下载,通知栏通知
    前几天项目需要做类似android市场应用同时下载,实现了功能,并抽取关键代码,写成了小demo,希望对用户有所帮助
    2013-07-05下载
    积分:1
  • The Shortest Circuit of a Non-Oriented Graph
    package Extend_Floyd; import java.io.*; import java.util.Scanner; public class Extend_Floyd {  /**   * @param args   */  static final int INF=666666666;//注意INF可能溢出,慎用!    static final int MAXN=100+10;  static int nnum,mnum,cnt,minn;   static int path[],fa[][],cur[][],dist[][];  static void init()   {    path = new int[MAXN+1];   fa = new int[MAXN+1][MAXN+1];   cur = new int[MAXN+1][MAXN+1];   dist = new int[MAXN+1][MAXN+1];   for(int i=1;i
    2022-09-18 01:15:03下载
    积分:1
  • Struts2 与数据库连接的登录
    利用 struts2 框架登录名与数据库进行。也其使用一个模型编程像街道 (数据库访问对象),dto(data transfer object)。
    2023-04-17 04:25:03下载
    积分:1
  • API的软件度量
    基于API的软件度量:
    2022-10-07 20:35:04下载
    积分:1
  • android open gl 示例代码下载
    [实例简介]Open GL 入门级示例 [实例截图] [核心代码]package com.china.gltry;import javax.microedition.khronos.egl.EGL10;import javax.microedition.khronos.egl.EGL11;import javax.microedition.khronos.egl.EGLConfig;import javax.microedition.khronos.egl.EGLContext;import javax.microedition.khronos.egl.EGLDisplay;import javax.microedition.khronos.egl.EGLSurface;import javax.microedition.khronos.opengles.GL;import android.view.SurfaceHolder;/** * An EGL helper class. */public class EGLHelper{ public EGLHelper() { } /** * Initialize EGL for a given configuration spec. * @param configSpec */ public void start(int[] configSpec){ /* * Get an EGL instance */ mEgl = (EGL10) EGLContext.getEGL(); /* * Get to the default display. */ mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); /* * We can now initialize EGL for that display */ int[] version = new int[2]; mEgl.eglInitialize(mEglDisplay, version); EGLConfig[] configs = new EGLConfig[1]; int[] num_config = new int[1]; mEgl.eglChooseConfig(mEglDisplay, configSpec, configs, 1, num_config); mEglConfig = configs[0]; /* * Create an OpenGL ES context. This must be done only once, an * OpenGL context is a somewhat heavy object. */ mEglContext = mEgl.eglCreateContext(mEglDisplay, mEglConfig, EGL10.EGL_NO_CONTEXT, null); mEglSurface = null; } /* * Create and return an OpenGL surface */ public GL createSurface(SurfaceHolder holder) { /* * The window size has changed, so we need to create a new * surface. */ if (mEglSurface != null) { /* * Unbind and destroy the old EGL surface, if * there is one. */ mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_CONTEXT); mEgl.eglDestroySurface(mEglDisplay, mEglSurface); } /* * Create an EGL surface we can render into. */ mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, holder, null); /* * Before we can issue GL commands, we need to make sure * the context is current and bound to a surface. */ mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext); GL gl = mEglContext.getGL(); return gl; } /** * Display the current render surface. * @return false if the context has been lost. */ public boolean swap() { mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); /* * Always check for EGL_CONTEXT_LOST, which means the context * and all associated data were lost (For instance because * the device went to sleep). We need to sleep until we * get a new surface. */ return mEgl.eglGetError() != EGL11.EGL_CONTEXT_LOST; } public void finish() { if (mEglSurface != null) { mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_CONTEXT); mEgl.eglDestroySurface(mEglDisplay, mEglSurface); mEglSurface = null; } if (mEglContext != null) { mEgl.eglDestroyContext(mEglDisplay, mEglContext); mEglContext = null; } if (mEglDisplay != null) { mEgl.eglTerminate(mEglDisplay); mEglDisplay = null; } } EGL10 mEgl; EGLDisplay mEglDisplay; EGLSurface mEglSurface; EGLConfig mEglConfig; EGLContext mEglContext;}
    2015-04-06下载
    积分:1
  • 车辆登记系统
    在线车辆登记系统。这是一个Web应用程序,是对交通部门原使用,汽车销售/销售代理及与贸易相关的其他人。
    2023-03-19 15:30:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载