Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Java Basics
|
Java Basics General beginning Java language questions that don't fit in one of the more specific forums. Please specify what version.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 4th, 2009, 04:18 PM
Registered User
 
Join Date: Aug 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default problem with j2me and rms file

I'm new to java, been at it for about 3 hours, and im trying to get meboy working on my phone. I got it to compile and put it on my phone, but when i try to save, i get:

Quote:
An error has occurred (error#10, javax.microedition.rms.RecordStoreException: error opening record store file)
To me, it seems that it cant find the rms file. but there wasn't one given and i seem to be the only one having this problem. any ideas on how to fix this would be very much appreciated.

Last edited by rokr424; August 4th, 2009 at 04:27 PM..
 
Old August 7th, 2009, 02:55 AM
Registered User
 
Join Date: Aug 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default function problem

Code:
//this is the code for onclick function

<script type="text/javascript">	
		var arrayOfRolloverClasses = new Array();
		var arrayOfClickClasses = new Array();
		var activeRow = false;
		var activeRowClickArray = new Array();	
		function highlightTableRow()
		{
			var tableObj = this.parentNode;
			if(tableObj.tagName!='TABLE')tableObj = tableObj.parentNode;

			if(this!=activeRow){
			this.setAttribute('origCl',this.className);
			this.origCl = this.className;
			}
			this.className = arrayOfRolloverClasses[tableObj.id];	
			activeRow = this;		
		}
	function clickOnTableRow()
	{
		var tableObj = this.parentNode;
		if(tableObj.tagName!='TABLE')tableObj = tableObj.parentNode;				
		if(activeRowClickArray[tableObj.id] && this!=activeRowClickArray[tableObj.id]){
			activeRowClickArray[tableObj.id].className='DOGODEK_ID';
		}
		this.className = arrayOfClickClasses[tableObj.id];		
		activeRowClickArray[tableObj.id] = this;				
	}	
<script type="text/javascript">
addTableRolloverEffect('myTable','tableRollOverEffect1','tableRowClickEffect1');
addTableRolloverEffect('myTable2','tableRollOverEffect2','tableRowClickEffect2');
</script>

//this function send id to other table but not with URL.
//I have a picture in a table to send ID. When I click a picture Row send ID //
to other table but I wont to click a row not a picture.
<script language="javascript">
		function nad(DOGODEK_ID, DOGODEK_LINK_ID)
			{
				//alert("crm_dogodek.php?DOGODEK_ID=" + DOGODEK_ID );
				if (DOGODEK_LINK_ID != '') 
				{
				self.location.href  = 'crm_dogodek.php?DOGODEK_ID=' + DOGODEK_ID 
										+'&POD_ID='  + DOGODEK_ID;
				}		 
				else {
				self.location.href  = 'crm_dogodek.php?DOGODEK_ID=' + '' 
										+'&POD_ID='  + DOGODEK_ID;
				}										    
	        }





Similar Threads
Thread Thread Starter Forum Replies Last Post
Regarding J2ME Blackberry programming books saravinfotech All Other Wrox Books 1 April 16th, 2007 12:46 PM
Using j2se's "BufferedWriter" in the j2me emulator johnwen604 J2EE 0 November 7th, 2005 06:25 AM
j2me book sahil All Other Wrox Books 1 February 11th, 2005 07:13 PM
J2ME minhtri JSP Basics 1 June 23rd, 2004 12:50 AM
I need help regarding J2ME (CLDC, MIDP, MIDLets) ) aqjee J2EE 0 June 18th, 2004 09:08 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.