Search Results

Showing results 1 to 40 of 428
Search took 0.03 seconds.
Search: Posts Made By: freesoft_2000 ; Forum: Java and child forums
Forum: Java Oct 22nd, 2009
Replies: 2
Views: 286
Posted By freesoft_2000
1st Part


public void posneg (String str1)
{
Convert the string to int
Divide it by 2,
if there is a remainder, its odd
if not even
}
Forum: Java Oct 22nd, 2009
Replies: 2
Views: 184
Posted By freesoft_2000
Just run it as a an exe
Boy what an old member i am

Richard West
Forum: Java Nov 28th, 2006
Replies: 7
Views: 5,586
Posted By freesoft_2000
Hi everyone,

see the below threads

http://forum.java.sun.com/thread.jspa?threadID=762802&tstart=0

http://forum.java.sun.com/thread.jspa?forumID=31&threadID=592585
...
Forum: Java Nov 27th, 2006
Replies: 0
Views: 860
Posted By freesoft_2000
Hi everyone,

I am currently trying to use the HTML preformat tags in a JTextPane using the the HTMLDocument class.

This is the function where i apply the preformating

...
Forum: Java Nov 27th, 2006
Replies: 7
Views: 5,586
Posted By freesoft_2000
Hi everyone,

Try looking at the java's InetAddress api, there maybe something useful there for you

http://java.sun.com/j2se/1.5.0/docs/api/java/net/InetAddress.html
...
Forum: Java Nov 25th, 2006
Replies: 1
Ftp
Views: 1,157
Posted By freesoft_2000
Ftp
Hi everyone,

Currently i am trying to connect to a site using ftp using the below method to upload a file


URL url = new...
Forum: Java Nov 20th, 2006
Replies: 1
Views: 13,229
Posted By freesoft_2000
Hi everyone,

I am currently trying to use a JTextPane as a cell renderers for a JTable but it does not seem to work although the program compiles. I alsways get an error...
Forum: Java Oct 7th, 2006
Replies: 3
Views: 2,434
Posted By freesoft_2000
Hi everyone,


public class clock
{

public clock(int num)
{

}
Forum: Java Oct 6th, 2006
Replies: 1
Views: 1,076
Posted By freesoft_2000
Hi everyone,

I need to ask a rather silly question on escaping quotes so please bear with me for a while.

As i am using java this is what i usually do to escape quotes

...
Forum: Java Oct 5th, 2006
Replies: 1
Views: 1,711
Posted By freesoft_2000
Hi everyone,

I am trying to insert some unicode into a JTextPane document but i have a concern as to whether the unicode will be recognized on other platform besides windows.

...
Forum: Java Sep 7th, 2006
Replies: 1
Views: 2,557
Posted By freesoft_2000
Hi everyone,

I currently have a JTextPane using a html document and i am trying to serialize the html document contained in the JTextPane to the disk but i have run into some...
Forum: Java Aug 20th, 2006
Replies: 3
Views: 2,161
Posted By freesoft_2000
Hi everyone,



I don't mean to be bad, but the solution phaelax gave you can be implemented in most languages. His alogarithm is simple to use.

You...
Forum: Java Aug 1st, 2006
Replies: 4
Views: 1,279
Posted By freesoft_2000
Hi everyone,



Yes sorry i meant FileOutputStream, it was a typo



Assuming that i have already gotten what you mention above all covered, do i need to transfer tags by tags or is the...
Forum: Java Jul 31st, 2006
Replies: 4
Views: 1,279
Posted By freesoft_2000
Hi everyone,

I do not actually have web page i can test this with but would really appreciate anyone with experience on this topic.

You see i am trying to upload a html page called wt.html from...
Forum: Java Jul 30th, 2006
Replies: 3
Views: 1,234
Posted By freesoft_2000
Hi everyone,



True but currently the support for FTP on java is not really all sound, but can i create the directory and file on the server i am connected to.

Is this possible at all
...
Forum: Java Jul 27th, 2006
Replies: 3
Views: 1,234
Posted By freesoft_2000
Hi everyone,

I have a rather confusing question but please bear with me for a while.

You see i am trying to upload a file to a certain website called...
Forum: Java Jul 12th, 2006
Replies: 0
Views: 1,245
Posted By freesoft_2000
Hi everyone,

I have a question about the java multi-platform print dialog.

My question is on collating the output of my print out using the java multi-platform print dialog. The thing is no...
Forum: Java Jul 12th, 2006
Replies: 3
Views: 8,640
Posted By freesoft_2000
Hi everyone,

Wow i asked this question 2 years ago

Richard West
Forum: Java May 16th, 2006
Replies: 3
Views: 5,330
Posted By freesoft_2000
You can't find the documentation for it because it is in the com.sun package.
Try not to use this package as there is not gurantee that it will be in the next release.

Try running the external...
Forum: Java May 15th, 2006
Replies: 3
Views: 5,330
Posted By freesoft_2000
Hi everyone,

When you run javac.exe, you will need the Process class. In that class see the error stream, input stream

Richard West
Forum: Java Apr 8th, 2006
Replies: 4
Views: 1,264
Posted By freesoft_2000
Hi everyone,



I decided to redo your program and it now compiles but try and make your program a bit easier to read next time as i find it a bit cluttered.

Here is your...
Forum: Java Apr 8th, 2006
Replies: 1
Views: 1,232
Posted By freesoft_2000
Hi everyone,

Did you install the java sdk or jre first and installed it.

Richard West
Forum: Java Mar 28th, 2006
Replies: 1
Views: 1,224
Posted By freesoft_2000
Hie everyone,



First compare the current date with the last modified date and if it is more than 7 days use the io classes and move it to the required folder and delete the original file


...
Forum: Java Mar 28th, 2006
Replies: 11
Views: 2,572
Posted By freesoft_2000
Hi everyone,



Different command line??

I thought that compiling as such javac heri.java was a standard way of compilation on all java supported OSes.

Correct me if i am wrong
Forum: Java Mar 26th, 2006
Replies: 11
Views: 2,572
Posted By freesoft_2000
This is the command javac heri.java

Its not unusual

Richard West
Forum: Java Mar 26th, 2006
Replies: 11
Views: 2,572
Posted By freesoft_2000
Hi everyone,



Windows



jdk1.5.0_6
Forum: Java Mar 25th, 2006
Replies: 11
Views: 2,572
Posted By freesoft_2000
Hi everyone,



Oh you are right. What i meant to say was that the console did not appear in 1.4 but appeared in 1.5 when i use the runtime class to run javac.exe

Have you ever experienced...
Forum: Java Mar 23rd, 2006
Replies: 11
Views: 2,572
Posted By freesoft_2000
Hi everyone,

No one has experienced this before??

Richard West
Forum: Java Mar 22nd, 2006
Replies: 6
Views: 4,533
Posted By freesoft_2000
Hi everyone,

Nawal what kind of modem are you talking about?
Interbal pci modem or external one using serial or usb port?

Please clarify

Richard West
Forum: Java Mar 21st, 2006
Replies: 1
Views: 1,806
Posted By freesoft_2000
Hi everyone,

For conversion its better you learn the python language. I converted alot of pascal and C/C++ code to java but if i had not picked up java i too would be stuck.
...
Forum: Java Mar 21st, 2006
Replies: 11
Views: 2,572
Posted By freesoft_2000
Hi everyone,

I find something very odd.
When i use the runtime class to run javac in 1.4.2 the console window does
open but when i do the same in 1.5 the console window appears.

Why is this...
Forum: Java Mar 21st, 2006
Replies: 6
Views: 4,533
Posted By freesoft_2000
Hi everyone,

There is no hardware support in java thus yu cannot access the modem.
You have to use C/C++ or Pascal

Richard West
Forum: Java Mar 17th, 2006
Replies: 2
Views: 1,246
Posted By freesoft_2000
Hi everyone,

Is it possible to insert html into a styled document using
the rtf editor kit?

If it is possible could someone show me a simple example of
how this is...
Forum: Java Mar 17th, 2006
Replies: 4
Views: 1,223
Posted By freesoft_2000
Hi everyone,



The problem is i am still using 1.4.2, but i haven't download and installed the 1.6 to the network computer i have with me
I was hoping someone had the source code already for me...
Forum: Java Mar 16th, 2006
Replies: 4
Views: 1,223
Posted By freesoft_2000
Hi everyone,

Does anyone know where i can get hold of the source code for the following
api

JTextComponent.print(MessageFormat headerFormat,MessageFormat
footerFormat)
throws...
Forum: Java Mar 11th, 2006
Replies: 8
Views: 2,365
Posted By freesoft_2000
Is your pc connected to the Internet and you simply want to connect your client to a server which is on the internet?
Forum: Java Mar 10th, 2006
Replies: 8
Views: 2,365
Posted By freesoft_2000
nawal, i think you have to provide more info.

Is the data located at another server thus the data is located at a certain webpage(ie. url) or can you connect to it via sockets.

Please clarify
Forum: Java Feb 5th, 2006
Replies: 1
Views: 1,005
Posted By freesoft_2000
Hi everyone,

Sorry to ask this question but i just wanted to clear something. If i were to serialize a java object using the ObjectOutputStream on a windows platform can i read...
Forum: Java Jan 24th, 2006
Replies: 27
Views: 10,665
Posted By freesoft_2000
Hi eveyone,



Use loops and arrays

Richard West
Forum: Java Jan 24th, 2006
Replies: 18
Views: 9,286
Posted By freesoft_2000
Hi everyone,



It seems you want to create an ide and not a comppiler but the answer is that its possible



Duly noted
Showing results 1 to 40 of 428

 


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

©2003 - 2009 DaniWeb® LLC