This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Copyright (c) E.Y. Baskoro, Research In Motion Limited. | |
| * | |
| * Permission is hereby granted, free of charge, to any person | |
| * obtaining a copy of this software and associated documentation | |
| * files (the "Software"), to deal in the Software without | |
| * restriction, including without limitation the rights to use, | |
| * copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| * copies of the Software, and to permit persons to whom the | |
| * Software is furnished to do so, subject to the following |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.durianapp.kertasdanlakban; | |
| import net.rim.device.api.ui.UiApplication; | |
| public class Lakban extends UiApplication { | |
| public Lakban() { | |
| pushScreen(new LakbanScreen()); | |
| } | |
| public static void main(String[] args) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.durianapp.kertasdanlakban; | |
| import net.rim.device.api.ui.UiApplication; | |
| public class Lakban extends UiApplication { | |
| public Lakban() { | |
| pushScreen(new LakbanScreen()); | |
| } | |
| public static void main(String[] args) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // This sample is based on given example by Sencha, | |
| // http://dev.sencha.com/deploy/touch-charts-rc/examples/Column/ | |
| // I simplify it so I hope this example is easier to read by newbies | |
| Ext.setup({ | |
| onReady: function() { | |
| // store untuk menyimpan data | |
| window.store1 = new Ext.data.JsonStore({ | |
| fields: ['name', 'data1', 'data2'], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.durianapp.helloservlet.servlets; | |
| import java.io.IOException; | |
| import java.io.PrintWriter; | |
| import javax.servlet.ServletException; | |
| import javax.servlet.annotation.WebServlet; | |
| import javax.servlet.http.HttpServlet; | |
| import javax.servlet.http.HttpServletRequest; | |
| import javax.servlet.http.HttpServletResponse; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.durianapp.helloservlet.dao; | |
| import java.io.BufferedReader; | |
| import java.io.File; | |
| import java.io.FileReader; | |
| import java.io.FileWriter; | |
| import java.io.IOException; | |
| import java.io.PrintWriter; | |
| public class FileDao { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Ext.application({ | |
| name: 'App', | |
| launch: function() | |
| { | |
| Ext.create("Ext.TabPanel", { | |
| fullscreen: true, | |
| tabBarPosition: 'bottom', | |
| items: [ | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Ext.application({ | |
| name: 'App', | |
| launch: function() | |
| { | |
| Ext.create("Ext.TabPanel", { | |
| fullscreen: true, | |
| tabBarPosition: 'bottom', | |
| items: [ | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Ext.application({ | |
| name: 'App', | |
| launch: function() | |
| { | |
| Ext.create("Ext.TabPanel", { | |
| fullscreen: true, | |
| items: [ | |
| { | |
| title: 'Home', | |
| iconCls: 'home', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Ext.application({ | |
| name: 'App', | |
| launch: function() | |
| { | |
| alert("Yaa. Akhirnya jalan juga."); | |
| } | |
| }); |