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

📄 run.bat

📁 J2ME核心类及MIDlet类 MIDP用户界面对象 图形处理及低级事件处理 多线程编程 I/O及网络编程 数据库RMS编程 浮点数编程 多媒体及GAME API编程 安全、加密及
💻 BAT
字号:
@echo off
rem This file runs the corresponded demo.

if "%OS%" == "Windows_NT" setlocal
set DEMO=JSR172Demo

set PROXY_HOST=
set PROXY_PORT=

if not exist .\%DEMO%.jad (
  echo *** Run this batch file from its location directory only. ***
  goto end
)

if not exist .\%DEMO%.jar (
  echo *** You should build the %DEMO%.jar first. ***
  goto end
)

if "%PROXY_HOST%" == "" (
  echo *** You need to specify a proxy for this demo in run.bat. ***
  goto end
)

if "%PROXY_PORT" == "" (
  echo *** You need to specify a proxy for this demo in run.bat. ***
  goto end
)

rem Enter the common 'bin' directory of WTK.
cd ..\..\..\bin

rem Run a WTK with the specified demo.
emulator -Dcom.sun.midp.io.http.proxy=%PROXY_HOST%:%PROXY_PORT% -Xdescriptor:..\apps\%DEMO%\bin\%DEMO%.jad

rem Return back to 'bin' directory of the demo.
cd ..\apps\%DEMO%\bin

:end
if "%OS%" == "Windows_NT" endlocal

rem do a "pause" always
pause

⌨️ 快捷键说明

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