Java and MS Word

88 byte By MichaelRFleeta at 2007-9-28 11:11:56
How can i access a MS Word Template, add data to it, and then print the document?

How can I trasfer file using java program (from NT to Unix)

187 byte By rajeev_patil10a at 2007-9-28 11:14:15
Hi all,I want to transfer a text file from Windows NT to Unix machine inside the Java program.How should i do it.Thanks in advance.RegardsRajeev

Empty Portlist under Window XP with javax.comm

139 byte By mauryda at 2007-9-28 11:15:12
Hi,When i try to run my app under Win XP it returns an empty port list. It works fine under Win 2000. Any Ideas?Thanks

Application Keyboard Input

166 byte By InsaneBoba at 2007-9-28 11:20:40
Does anyone know of a way to do key presses with an application. What I want to do is push a button on my keyboard and have the app respond in a paticular way.

I need a menu!!+other stuff

1708 byte By zzzzba at 2007-9-28 11:23:42
You see, I'm realy, realy new (like 2 months) and I need some standerd edition java ONLY sorce code for this:( "..." means a color/font choser)( " ||===||[then the contents] " means a ...

Problem with MulticastSocket

490 byte By folkenfa at 2007-9-28 11:31:01
Hello.I would like to create a MulticastSocket in order to perform a broadcast on the LAN.Following the tutorial on custom network of Sun, I encountered an error with the joinGroup method :ipGroup = InetAddress.getByName("169.0.0.1");System.out.println("IP group : " + ip);udpClientSocket = new ...

Maximize a JFrame

148 byte By GP343a at 2007-9-28 11:57:23
Does anybody knows how to maximize a JFrame. So that the weight and height is enlarge to fit the entire screen, like in VB?Please Help

Checking user access status

478 byte By null_bocka at 2007-9-28 12:04:36
I'm writing an installer with InstallAnywhere. When the installation is made on a Windows machine we need to set a System Variable, system-wide if possible. How can I check the user's access rights in java? Is there any way to tell if he has full access on his system (ie, logged in as ...

How to construct the constant pool?

771 byte By ohadraza at 2007-9-28 12:16:50
Greetings,I seems to have a little bit of a problem.I have a text file, generated by the javap -c <class_name> command,i.e.:javap -c myClass > myClass.txtThis myClass.txt is the input I've got. I do not have the myClass.class, from which it was generated.What I wish to do, is to ...

overwriting object in a file

205 byte By code3hreea at 2007-9-28 12:17:25
I have a file of serialized objects and i need to update some of the objects in the file how do i do this, i know that you can append to the end of the file but how do i delete or update the objects

Socket server read error

8518 byte By fypc8005a at 2007-9-28 12:20:43
I've created a multi-threaded server and client program, where the client sends text to the server. However, after successfully receiving some text, the server's text area will show "null" continuously and give the error:"Read failed".I can't figure out the error. Please ...

Multispectral Imaging

224 byte By cjpgordona at 2007-9-28 12:21:56
Hi,Does anyone know how to open and visualise multispectral images using Java? Alternatively, does anyone know where I can find some information on multispectral imaging using Java?Many thanks,CG.

Abstract method error- How to solve this problem

2089 byte By BINDUKa at 2007-9-28 12:29:25
exception obtained when running this program is..Exception in thread "main" java.lang.AbstractMethodError: oracle/jdbc/driver/OracleResultSet.getBlobat BlobTest.main(BlobTest.java:40)/*** To insert a file as BLOB in oracle db****/import java.sql.*;import java.io.*;import java.util.*;import ...

Help pls

211 byte By hsg4a at 2007-9-28 12:32:20
I have created a series of classes and methods and I want them to be added in a style like Forte where the user is presented with a dropdown list of all the avliable methods in the class how do I do this?

Can not delete folder

260 byte By lamlea at 2007-9-28 12:47:52
I try delete a folder but File object can not to do a delele action: java.io.File f = new java.io.File(filepath);if(f.exist()) f.delete();Even i put System.gc(); to code.I don't know why?Can you help me?Thanks.

File View thru Browser

620 byte By pm_jaina at 2007-9-28 12:49:14
Hello Im My application any user can attache a file with particular request and later on he can come and view this file . When user press view button then we are puttingthis file on application server under document root ( in my case I am using weblogic 5.1 and doc root is public_html) from ...

Unicode characters

145 byte By gdascoa at 2007-9-28 12:52:07
How do I manage to convertString x="\\uXXXX"in"\uXXXX"?Any idea?Thanks in advance.Giorgio

What is replacement method for parseQueryString

191 byte By marathiboya at 2007-9-28 12:54:35
Hello all,I recently noticed that the class Httputils is deprecated, where is the replacement for the static method parseQueryString?Thankssligade@dyadsodality.com

100% Java Puree

622 byte By jordanhotzela at 2007-9-28 12:57:05
I bought Microsoft Visual J++ Professional 6.0 a few years ago and this is what I have to say for it.MS does everything it can to cause my code to run only on Windows.MS hides the method to use third-party class libraries.MS does not allow upgrading or updating of the class library it uses.Now, ...

Using multiple Maps to provide different keys to the same object, good/bad?

748 byte By buckman1a at 2007-9-28 13:08:04
Hi all,I am curious if there is any big deal in using more than one Map, perhaps 2, 3 or 4 to provide different String key names to point to the same object? I ask this because I want to provide different ways to find the same object without having to loop through a List of objects and compare ...

One thread has to wait until another is terminated?!

1654 byte By pinguking68a at 2007-9-28 13:15:41
Hello, I need a little bit help! I have a client-server programm, the server is listening and the client can make connections via socket, the whole thing is multithreaded. What I actually wanna have is that the second client can connect to the server, but that the thread that is started waits ...

100% Java is a reality

398 byte By msooria at 2007-9-28 13:18:54
Heres a job search tool I wrote using RegExp and a swing UI. Its 100% pure Java and works with Mac OSX, Windows and Linux. Didnt rewrite a single line of code for a specific platform. It can search Dice, Monster and Craigs list and can be configured to search and mail out your selected jobs ...

changing the wizard interface

292 byte By trisha1a at 2007-9-28 13:34:43
hi, i was wondering if somebody could help! i'm doing my fourth year project and i need to change the look of jbuilder. when you select file/new you are presented with the wizard, i need to add an extra option in the wizard. can anybody help!really appreciate it, thanks

changing the look of jbuilder5

300 byte By trisha1a at 2007-9-28 13:34:53
hi, i'm doing my final fourth year project and i need to change the look of jbuilder. when you choose file/new, you are presented with the wizard, i need to add an extra feature (for selection) in here!can anybody help. i know its a strange one.really appreciate ...

Chat voice

224 byte By trilcejfa at 2007-9-28 13:44:13
Hello all, i am also developing a voice chat now. Could any one please help me out some sample source code or any web. It will be be a great favour to me.Thanks in advanceSend it to trilcejf@hotmail.com

Fast print Tiff file

305 byte By m_catonea at 2007-9-28 13:47:15
When I print a Tiff File to the printer with PrinterJob it take too mutch amount of memory (Mb in the spooler) for all the image and the print is too slow.My File is a MultiPage Tiff File.How can I do this in another way?Sorry for my English I write from Rome.Thank' ...

Print quickly an image file

215 byte By simone_realia at 2007-9-28 13:52:48
I print an image file with classic method (Make a Book object and send it to a PrinterJob) but the program send to the print 11 MB for each page.How can i print quikly an image file in another method?

IAm all mIx Up..Need serius Help

875 byte By vashgirl_triguna at 2007-9-28 14:09:03
Really nid help in this probelm...dont know how to use switch and Text Field please help ...Mail order house sells 5 different product..prod1-$2.98, prod2-$4.50, prod3- $9.98, prod4- $4.49 and prod 5- $6.87..Write an application that reads a series of pairs of numbers as follows:a)Product ...

DirectoryDialog

188 byte By Christoph123a at 2007-9-28 14:11:53
What i need is something like the File Dialog box in java, but a Directory Dialog box, that lets me select directory's instead of files. Any help would be great.Thanks a lot

java.lang.NoClassDefFoundError

578 byte By khurramatka at 2007-9-28 14:18:35
i wrote a simple class i.e.file name is Hello.javapublic class Hello{ public static void main(String arg[]){System.out.println("Hello World"); }}* no compile errors..i compile it on my pc and run it.. it works...(no worry)..but when i uses a remote server (using pcanywhere) and copied it on ...

Underline Strings

232 byte By anilkumarsh14a at 2007-9-28 14:29:37
Hithis might be a silly problembut i have to show some string on an Joption pane Also i have to underline some Strings which i am displaying on the optionPanehow can be this achievedany help

problem with compile the code

4984 byte By mocamocaa at 2007-9-28 14:31:20
hi alli have a code sample which i cannot compilecould anyone fix it10xmoca--/** * This class can take a variable number of parameters on the command * line. Program execution begins with the main() method. The class * constructor is not invoked unless an object of type 'Class1' * created in ...

Http Tunneling Problem

13050 byte By khurramatka at 2007-9-28 14:31:30
i am working a chat project. My client and server are communicating with sockets well but when one of my client is behind firewall and it needs to connect to server and communicate , then i only sends messages to server but did not recieve messages back from server...i could not get to the ...

does j++ familiar with the package swing?

9 byte By mocamocaa at 2007-9-28 14:31:42
jj

How to use Class.getResourceAsStream(String str) method

1179 byte By shafique_razzaquea at 2007-9-28 14:32:16
I am unable to use the Class.findResourceAsStream(String str) method. In my codes I have to read an XML config file, the file name is validator-config.xmlIf I place the file in the same location as the class which is calling this method it works. ( See codes below).But when I place this file in ...

Creating an array without knowing how long it will be

250 byte By ullaxda at 2007-9-28 14:35:17
How do I create an array of Strings when I dont know how long its going to be. I want an array of possible answers to a question. Each time i create the array its going to ask for the answers and some questions will have more possible answers.

Get all the classes for a Package

121 byte By Jnellya at 2007-9-28 14:45:39
Is there any method to get all the classes in a package?How can I get all the classes extended by a class?

custom classloader being ignored?

650 byte By asjfa at 2007-9-28 15:06:18
hi, I have a custom classloader for pointing at arbitrary jar files, and its working ok, but in one test jar there is a class file that attempts to get a reference to a class by callingClass.forName(...)from a static method.When this method is called a ClassNotFoundException is thrown - I've ...

Method local inner classes and final local variables

728 byte By christopheperrina at 2007-9-28 15:18:13
Hi everybody,I have a question regarding Method local inner classes.I read that a method local inner class cannot access the local variables (The one defined in this method); the reason for this is that the local variables will cease to exist as soon as the method complete but the inner class ...

Send an array from one jsp file to another

83 byte By Woremsa at 2007-9-28 15:19:18
Hey, Can anyone tell me how to access an array in one jsp file from another?

Use of arrayLists

192 byte By rakeshwa at 2007-9-28 15:19:55
I use arraylists everywhere in my web based application (jsp as well as classes). Since arraylist are not thread safe. Do you think this will pose any threat to my code in production ?

problems finding xml file in jar

715 byte By brianfma at 2007-9-28 15:21:51
lads,I am having problems finding an xml file that is located in my jar file.in the same package as the xml file i have a class that accesses that xml file. i am using the below code to get the path for the xml file:String path = getClass().getResource( "LanguageProperties.xml" ).getPath();The ...

Load Interfaces in JVM

653 byte By cmbarriaa at 2007-9-28 15:23:48
Hello!I have an application running, this application when start, load (by classpath of WebLogic)many compiled files (.class), but this compiled files (.class) are interfaces (my application need to see this interfaces of different EJB's). so. When I update some interface, i need load this ...

How to use NOT the System ClassLoader ?

970 byte By sebpca at 2007-9-28 15:31:22
Hi, I have a problem, I would like to escape to use the System ClassLoader for some classes.I show you an example.I have two jar, one, 'firstJar', with 2 Bean, C and E, und one Class D, and another jar, 'secondJar', with just two classes, A and B.secondJar is in the CLASSPATH, and is ...

Unkown length in custom CharSequence implementation

1032 byte By zcoxa at 2007-9-28 15:33:01
I'm trying to write a custom implementation of the CharSequence interface for use with the Regular Expression package java.util.regex. This implementation adapts a generic Reader object to the CharSequence interface, so I can read directly from the Reader and do reg exp matching.However, the ...

Is Eclipse a 100% pure Java program?

43 byte By billparka at 2007-9-28 15:47:23
Is Eclipse a 100% pure Java program?

Returning an array of strings

166 byte By ullaxda at 2007-9-28 15:48:39
I have an object with an array of strings that I wish to return. Is that possible or do I have to convert it to a string. If so, how do I do that?/Johan

Can anybody give me any instruction?

168 byte By xjtuzyfa at 2007-9-28 15:54:35
I want to catch a screen using java on a windows2000 system.Can it be realized by java?Are there any examples about it?Thank you very much!

Best algorithm for Sort ?

459 byte By JoshiYa at 2007-9-28 16:01:04
Hi ,My application involves the large amount of data that needs to be sorted often. Application interacts with the other environment who is passing large amount of arithmetic results at run time that I need to sort and display on the screen. Can anybody let me know, which sort algorithm will ...

Portable jdk1.3 Client

831 byte By jdk_dukea at 2007-9-28 16:05:27
Pls explain the differences between the CORBA features in jdk1.3 and jdk1.4? Jdk1.4 works fine when I try toconnect my client (which is meant to be a portable application)to the server. When I use jdk1.3 this ...