Home Discussion Discuss: Building a J2ME sliding menu with text and images(part-2)

  • the code throws a null pointer exceptionAniket May 31, 2011 at 12:48 PM

    the code is throwing null pointer exception .here is the exact nature: TRACE: <at java.lang.NullPointerException: 0>, Exception caught in Display class java.lang.NullPointerException: 0 at IconsCanvas.paint(SlideImage.java:133) at javax.microedition.lcdui.CanvasLFImpl.uCallPaint(), bci=202 at javax.microedition.lcdui.Display$ChameleonTunnel.callPaint(), bci=33 at com.sun.midp.chameleon.layers.BodyLayer.paintBody(), bci=12 at com.sun.midp.chameleon.CLayer.paint(), bci=46 at com.sun.midp.chameleon.CWindow.paintLayers(), bci=115 at com.sun.midp.chameleon.CWindow.paint(), bci=127 at com.sun.midp.chameleon.MIDPWindow.callPaint(), bci=45 at javax.microedition.lcdui.Display.callPaint(), bci=227 at javax.microedition.lcdui.Display$ForegroundEventConsumerImpl.handleDisplayForegroundNotifyEvent(), bci=215 at com.sun.midp.lcdui.ForegroundEventListener.process(), bci=53 at com.sun.midp.events.EventQueue.run(), bci=179 at java.lang.Thread.run(Thread.java:619) javacall_lifecycle_state_changed() lifecycle: event is JAVACALL_LIFECYCLE_MIDLET_SHUTDOWNstatus is JAVACALL_OK

  • slide menuAlex October 27, 2011 at 2:43 AM

    Please advice of how i could add different sounded names to accompany the sliding images.

Post your Comment



Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Related Articles
J2ME

Building a J2ME sliding menu with text and images(part-2)
Building a J2ME sliding menu with text and images(part-2)       In the given J2ME Menus example, we... these sliding menu in J2ME. Code to create back and forward button images 

J2ME

Building a J2ME sliding menu with text and images(part-1)
Building a J2ME sliding menu with text and images(part-1)       This example will show, how to create... by the nice sliding effect, you have to run the given example. For developing 

Blog

Sitemap J2ME Tutorial
| Player Class in J2ME | Draw arc in J2ME | Building a J2ME sliding menu with text... |  Text Field MIDlet J2ME | J2ME Contact List | Date Field MIDlet J2ME... Canvas Form J2ME | Creating Menu Using Canvas Class J2ME | Creating 

Ajax Examples

jQuery to Image Changes With Sliding Effect
; program that  images Changes with sliding effect. Steps to develop the program... jQuery to Image Changes With Sliding Effect   ... http-equiv="content-type" content="text/html; charset=utf-8" 

JavaScript Questions

Multicolumn text flowing multipage sliding
Multicolumn text flowing multipage sliding  Hi.. I need help? Multicolumn text flowing through multipage sliding, should calculate total column, gap, text size, image size for different browser. To be control with Previous Page 

J2ME

J2ME Tutorial
; Building a J2ME sliding menu with text and images(part-2) In the given J2ME Menus... for it, as we did in our example.    Building a J2ME sliding menu with text and images(part-1) This example will show, how to create an image 

Programming Tutorials

Text Changes with Sliding Effect
 

Programming Tutorials

Text Changes with Sliding Effect
 

Ajax

Sliding elements example
Sliding elements example       Sliding elements example For sliding effect jQuery has following methods... with a sliding effect. Example : Image is initially hidden, we can show 

Ajax Examples

jQuery to text changes with sliding effect
jQuery to text changes with sliding effect   ... a  program that  text Changes with sliding effect. Steps to develop...:internet --> <head><title> Text Changes with Sliding Effect < 

Programming Tutorials

Dojo Menu and Menu Item
Dojo Menu and Menu Item          In this section, you will learn about the menu and how to create it in dojo. Try Online: Menu and Menu Item Menu : This is the widget models 

Java Beginners

J2ME Sub Menu - Java Beginners
J2ME Sub Menu  I am creating a J2ME midlet in which I have created a menu by adding different commands in it. Now for example my command list is as follows 1. A 2. B 3. C 4. D 5. Exit Now my question is I want to add 

JavaScript Questions

having problem with menu ans sub menu items css ...plz help!!
having problem with menu ans sub menu items css ...plz help!!  PLZ help ...this is my html menu > <div id="content"> <div >...; <img src="images/bg_user.png" alt="" > width="199" height="199 

Development process Questions

J2ME
J2ME  What is the source code for Mortgage Calculator. using text fields are home price,loan amount,down payments,down payment percent, Annual tax... in J2ME language for Symbian developing. so please help me 

Programming Tutorials

Menu Control in Flex4
Menu Control  in Flex4: The Menu contol is a pop-up control. It containes a submenu. You can select a indivisual item from menu control. You use only Actionscript for create a pop-up Menu control. There is no MXMl tag. You can 

Java Beginners

console application - text-based menu - Java Beginners
console application - text-based menu  Im doin a text-based menu... productmain will call. out.println("Enter menu choice:") ans = indata.next...); int menu = 0; System.out.println("Test"); System.out.println 

Programming Tutorials

Dojo Menu and Menu Item
Dojo Menu and Menu Item     ... the menu and how to create it in dojo. Menu : This is the widget models a context menu, otherwise known as a right-click or popup menu, and it appears 

Programming Tutorials

Dojo Menu and Menu Item
Dojo Menu and Menu Item     ... the menu and how to create it in dojo. Menu : This is the widget models a context menu, otherwise known as a right-click or popup menu, and it appears 

Ajax Questions

creating pop up menu
creating pop up menu   how to create a pop up menu when a link in html page is clicked using jquery? and the link should be a text file   Please visit the following links: http://www.roseindia.net/tutorial/jquery 

Mobile Applications Questions

Creating Menu - MobileApplications
to display a text on the screen. I need to know the following things: How to create our own menu system? How to navigate between the screens( eg from 1st 

Java Beginners

menu
menu  fibonaci & prime no. display in menu driven in java programme 

Java Beginners

menu
menu  Hi,i want write the menu that repeat several time 

Java Beginners

Menu
Menu  Pl make a program which generates the following output. "Select from this menu" 1. Array 2. Stack 3. Queue. 4. Exit. If users press 1, then it will go in 1. Array. Welcome in Array. press 1. for Insertion press 2 

Java Beginners

combining 5 images and text in between to one single image in java
combining 5 images and text in between to one single image in java  Hi I have to combine 5 images and text in between to one single image. I have image followed by description about the image. I have to put them together 

Programming Tutorials

Zend FrameWork Part-2
the folders like images, scripts, and styles folder: We will put the related files in respective directories. Supporting images, scripts and CSS files are stored 

Java Beginners

images - Java Beginners
watermarked images.. tell something related to the watermarking concept...); g2d.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_ON); g2d.setFont(new Font("Arial", Font.BOLD, 30 

Swing AWT

Sliding window protocol
Sliding window protocol  Hello Everyone. Will anybody send me the code to make sliding window protocol animation using java swings. I have to do project with all types sliding protocols such as selectiverepeat,gobackN..etc. I 

General

Text Example in J2ME
Text Example in J2ME       In J2ME programming language canvas class is used to paint and draw the diagrams. Using the same canvas class we are going to draw a box around the text 

GWT

Creating Menu using GWT
Creating Menu using GWT       This example describes the Basics for building the Menu using GWT. The steps involved in Building the Menu Structure are described below:- final 

Mobile Applications Questions

J2ME - MobileApplications
J2ME  Hi, I wanted to ask that if i want to add Select Language option in my mobile application, can i do that and if yes how? Also if its possible then will my text change in to the language i have selected or i have to write 

DMCA.com