Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~9K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.

13 Posted Topics

Member Avatar for mr.sweetchuck

Hi, I'm trying to use the replace() method to take out all instances of " " , (space) with an underscore, ("_"). I'm doing this because I'm using URLs to connect to a servlet. I keep getting this error: [code] replace(char,char) in java.lang.String cannot be applied to (java.lang.String,java.lang.String) url.replace(" ", …

Member Avatar for stultuske
0
7K
Member Avatar for rajec3

Best bet is to download a development enviroment like JCreator or Eclipse and find some online examples. Really depends on what you want to do with java. There's plenty of books on Java that you can get from a library or buy online.

Member Avatar for stultuske
0
176
Member Avatar for mr.sweetchuck

Hi, I was asked to rebuild a compaq nc6000, (reformat disks, reinstall XP Pro and software) Since the rebuild I haven't been able to connect the laptop to the domain. I get the following error: <quote> A domain controller for the domain (DOMAINNAME HERE) could not be contacted. Ensure that …

Member Avatar for mr.sweetchuck
0
209
Member Avatar for mr.sweetchuck

I am working for a small firm which is uses an XP/SBS 2003 backbone. Some of the users require off site access to their mail (exchange) and used webmail to do so. Unfortunately, there's a cert error. I think it's for two reasons. Firstly, the cert is issued by the …

0
66
Member Avatar for mr.sweetchuck

Hi, recently I decided that I wanted to break away from just using the Windows OSs, (I'm an IT graduate and want to expand my tech base). I picked up a copy of Ubuntu and decided that the best way to go about it would be to partition my hard …

Member Avatar for darrglud
0
101
Member Avatar for sushilover25_78

You could take the long and write it to a string, eg [code] ling a = 1234567; String s = a; [/code] Next use substring to get the various digits out, eg [code] String mySubString = s.substring(0, 1); int newInt = mySubString; [/code] You could then work with the number …

Member Avatar for soumyajit
0
122
Member Avatar for mr.sweetchuck

I'm writing a Java ME app that will access servlets on a tomcat server, (version 5.5) and I'm having a problem. In my client I'm trying to use a HTTP connection to the servlet, like so: [code] if (command == select && currentForm == login) { HttpConnection connection = null; …

0
89
Member Avatar for bluebird

You could try placing one or more "\t" between each value. That way your code will be spaced evenly. eg: [code] String s = "Hello"; s += "\t"; s += "how are you"; [/code] It will print like so: Hello____________how are you (there will not be any underscores, ("_") in …

Member Avatar for bluebird
0
134
Member Avatar for mr.sweetchuck

Hi I'm trying to write a multi-formed J2ME app. I keep getting a null pointer exception in the startApp() method. [code] public void startApp() { display.setCurrent(currentForm); } [/code] I have currentForm created above and the first is mapped to it, (with the plan of mapping each new from to currentForm. …

Member Avatar for mr.sweetchuck
0
246
Member Avatar for ajay_tabbu

You need to import the java math package, (import java.lang.Math) use the method sin(). It takes doubles. Eg. [code] double x = //something double answer = sin(x); answer = 2*answer - 1; [/code]

Member Avatar for masijade
0
139
Member Avatar for mr.sweetchuck

Hi, I'm trying to write some code to connect my MIDlet to a database and I keep getting this compile error: package javax.servlet does not exist It does infact exists and I just can't figure out why I'm getting this error. :confused: What am I donig wrong? Thanks, chuck

Member Avatar for mr.sweetchuck
0
173
Member Avatar for mr.sweetchuck

Hi I am trying to write a simple J2ME application, (I've only started learning it), and am getting the following error: Unable to create MIDlet null java.lang.NullPointerException at com.sun.midp.midlet.MIDletState.createMIDlet(+29) at com.sun.midp.midlet.Selector.run(+22) I don't know what's wrong. Any suggestions would be greatfully received. My code is as follows: [code] import javax.microedition.midlet.*; …

Member Avatar for vinod_javas
0
823
Member Avatar for mr.sweetchuck

Hi, I am writing a little GUI application and I want to set them up, so that they have a Windows look and feel. So far I can't seem to find anything workable.

Member Avatar for mr.sweetchuck
0
96

The End.