<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>my knowledge rack &#187; midp</title>
	<atom:link href="http://ww2624.awi2.de/blog2/?feed=rss2&#038;tag=midp" rel="self" type="application/rss+xml" />
	<link>http://ww2624.awi2.de/blog2</link>
	<description>Probleme aus Studium und Alltag</description>
	<lastBuildDate>Sat, 17 Jul 2010 13:04:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Eine grafische Oberfläche mit der Java Micro Edition (J2ME)</title>
		<link>http://ww2624.awi2.de/blog2/?p=12</link>
		<comments>http://ww2624.awi2.de/blog2/?p=12#comments</comments>
		<pubDate>Thu, 04 Dec 2008 13:56:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Allgemeines]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[j2me]]></category>
		<category><![CDATA[midp]]></category>

		<guid isPermaLink="false">http://ww2624.awi2.de/blog/?p=12</guid>
		<description><![CDATA[package bachelorthesis.gui; package bachelorthesis.gui; &#160; import javax.microedition.midlet.*; import javax.microedition.lcdui.*; &#160; public class GUIDemoForm extends MIDlet &#123; public void startApp&#40;&#41; &#123; //Initialisieren der grafischen Oberfläche Display disp = Display.getDisplay&#40;this&#41;; &#160; //Hauptmenü durch eine Auswahlliste realisieren List menu = new List&#40;&#34;Hauptmenü&#34;,List.IMPLICIT&#41;; &#160; //Einträge hinzufügen menu.append&#40;&#34;Eintrag 1&#34;, null&#41;; menu.append&#40;&#34;Eintrag 2&#34;, null&#41;; &#160; //Auf dem Display darstellen disp.setCurrent&#40;menu&#41;; &#125; [...]]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">package</span> <span style="color: #006699;">bachelorthesis.gui</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">package</span> <span style="color: #006699;">bachelorthesis.gui</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">javax.microedition.midlet.*</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">javax.microedition.lcdui.*</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> GUIDemoForm <span style="color: #000000; font-weight: bold;">extends</span> MIDlet <span style="color: #009900;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">void</span> startApp<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #666666; font-style: italic;">//Initialisieren der grafischen Oberfläche</span>
        Display disp <span style="color: #339933;">=</span> Display.<span style="color: #006633;">getDisplay</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #666666; font-style: italic;">//Hauptmenü durch eine Auswahlliste realisieren</span>
        <span style="color: #003399;">List</span> menu <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">List</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Hauptmenü&quot;</span>,<span style="color: #003399;">List</span>.<span style="color: #006633;">IMPLICIT</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #666666; font-style: italic;">//Einträge hinzufügen</span>
        menu.<span style="color: #006633;">append</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Eintrag 1&quot;</span>, <span style="color: #000066; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        menu.<span style="color: #006633;">append</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Eintrag 2&quot;</span>, <span style="color: #000066; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #666666; font-style: italic;">//Auf dem Display darstellen</span>
        disp.<span style="color: #006633;">setCurrent</span><span style="color: #009900;">&#40;</span>menu<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">void</span> pauseApp<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">void</span> destroyApp<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">boolean</span> unconditional<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://ww2624.awi2.de/blog2/?feed=rss2&amp;p=12</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
