Search Results

Showing results 1 to 27 of 27
Search took 0.01 seconds.
Search: Posts Made By: mr.sweetchuck
Forum: Windows NT / 2000 / XP Oct 11th, 2007
Replies: 3
Views: 1,598
Posted By mr.sweetchuck
Sorry, was trying to connect laptop to work domain. Issue was caused by lack of drivers. Found the right ones on HP's website.

Thanks for the responses,
chuck
Forum: Windows NT / 2000 / XP Oct 10th, 2007
Replies: 3
Views: 1,598
Posted By 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:
...
Forum: Domains and DNS Jul 10th, 2007
Replies: 0
Views: 998
Posted By 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....
Forum: IT Professionals' Lounge Jun 15th, 2007
Replies: 4
Views: 851
Posted By mr.sweetchuck
Ok, I'll give it a go and if I have any problems I can always ask.

Thanks,
Chuck
Forum: IT Professionals' Lounge Jun 14th, 2007
Replies: 4
Views: 851
Posted By 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...
Forum: Java Apr 10th, 2007
Replies: 14
Solved: Help Needed!
Views: 2,403
Posted By mr.sweetchuck
You could take the long and write it to a string, eg

ling a = 1234567;
String s = a;


Next use substring to get the various digits out, eg


String mySubString = s.substring(0, 1);
Forum: Java Mar 23rd, 2007
Replies: 7
Views: 19,220
Posted By mr.sweetchuck
I have it. replaceAll is not in the Java ME api. I made a rather stupid assumption :mad: and wasted your time. I've fixed the problem . Many thanks for your time and efford. ;)
chuck
Forum: Java Mar 23rd, 2007
Replies: 7
Views: 19,220
Posted By mr.sweetchuck
I'm getting this error now:


cannot find symbol
symbol : method replaceAll(java.lang.String,java.lang.String)
location: class java.lang.String
url = url.replaceAll(" ", "_");
Forum: Java Mar 23rd, 2007
Replies: 7
Views: 19,220
Posted By 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...
Forum: Java Mar 14th, 2007
Replies: 0
Views: 1,736
Posted By 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:


if...
Forum: Java Mar 6th, 2007
Replies: 8
Views: 2,791
Posted By mr.sweetchuck
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...
Forum: Java Mar 6th, 2007
Replies: 15
Views: 6,386
Posted By mr.sweetchuck
I don't believe it!!! Thanks, I feel like such a tool for missing that!
Forum: Java Mar 5th, 2007
Replies: 6
Views: 1,466
Posted By mr.sweetchuck
I don't understand what you are asking? Could you try demonistrating what you are looking for?
Forum: Java Mar 5th, 2007
Replies: 6
Views: 1,466
Posted By mr.sweetchuck
You could try placing one or more "\t" between each value. That way your code will be spaced evenly.

eg:

String s = "Hello";
s += "\t";
s += "how are you";

It will print like so:...
Forum: Java Mar 5th, 2007
Replies: 15
Views: 6,386
Posted By mr.sweetchuck
It's really odd. It's definately not a case of display being set to null. Thanks for the help that you're giving. Here's the full code:


import javax.microedition.midlet.*;
import...
Forum: Java Mar 5th, 2007
Replies: 15
Views: 6,386
Posted By mr.sweetchuck
Display comes from:
javax.microedition.lcdui.Display

Which is a default class that the compiler recognises and I have not over-written.

The api is available on:...
Forum: Java Mar 5th, 2007
Replies: 15
Views: 6,386
Posted By mr.sweetchuck
The Display method has worked for me half a dozen time so far, so it can't be that. (I even copied and pasted it in from a working program)
Forum: Java Mar 2nd, 2007
Replies: 15
Views: 6,386
Posted By mr.sweetchuck
It's a pretty big class, but I'll try to cut out the irrevelant parts.


import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;

public class MyClient extends MIDlet implements...
Forum: Java Mar 1st, 2007
Replies: 15
Views: 6,386
Posted By mr.sweetchuck
Nope, sadly not. It's set up as usual:


Display display;
//...
display = Display.getDisplay(this);


Thanks, any other ideas?
Forum: Java Mar 1st, 2007
Replies: 2
Views: 1,101
Posted By mr.sweetchuck
You need to import the java math package, (import java.lang.Math)

use the method sin(). It takes doubles.

Eg.

double x = //something
double answer = sin(x);
answer = 2*answer - 1;
Forum: Java Mar 1st, 2007
Replies: 15
Views: 6,386
Posted By mr.sweetchuck
Hi I'm trying to write a multi-formed J2ME app. I keep getting a null pointer exception in the startApp() method.


public void startApp()
{
display.setCurrent(currentForm);
}


I have...
Forum: Java Feb 28th, 2007
Replies: 2
Views: 1,076
Posted By mr.sweetchuck
Ok, I guess the best bet is to create a server and connect via wireless to it. Db connection on the server side will be easy enough.

Thanks.

chuck
Forum: Java Feb 26th, 2007
Replies: 2
Views: 1,076
Posted By 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...
Forum: Java Feb 21st, 2007
Replies: 4
Views: 3,774
Posted By mr.sweetchuck
Hi yeah, I was using Sun's Wireless Toolkit 2.5 and I've gotten it working. Simplest of problems. I was writing my own jads for nothing!

Thanks, again,
Mr.Sweetchuck:cheesy:
Forum: Java Feb 21st, 2007
Replies: 4
Views: 3,774
Posted By 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...
Forum: Java Feb 21st, 2007
Replies: 2
Solved: Swing GUIs
Views: 991
Posted By mr.sweetchuck
That's it, great thanks.
Forum: Java Feb 19th, 2007
Replies: 2
Solved: Swing GUIs
Views: 991
Posted By 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.
Showing results 1 to 27 of 27

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC