---
title: "j2me 创建欢迎界面"
author: "rayloo"
date: "2008-02-13T09:26:00Z"
tags: []
slug: "j2me"
draft: false
lastmod: "2008-02-13T09:26:00Z"
id: 1008875
url: "https://rayloo.iteye.com/blog/1008875"
---

在启动程序之前创建欢迎界面

![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)newTimer().schedule(newTimerTask()  
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedBlockStart.gif)![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ContractedBlock.gif)...{  
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)publicvoidrun()  
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif)![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ContractedSubBlock.gif)...{  
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)//运行相应的任务；  
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif)}  
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedBlockEnd.gif)},5000);