How can i access a MS Word Template, add data to it, and then print the document?
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
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
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.
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 ...
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 ...
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
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 ...
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 ...
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
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 ...
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.
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 ...
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?
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.
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 ...
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
Hello all,I recently noticed that the class Httputils is deprecated, where is the replacement for the static method parseQueryString?Thankssligade@dyadsodality.com
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, ...
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 ...
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 ...
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 ...
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
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 ...
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
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' ...
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?
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 ...
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
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 ...
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
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 ...
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 ...
jj
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 ...
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.
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?
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 ...
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 ...
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?
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 ?
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 ...
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 ...
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 ...
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?
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
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!
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 ...
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 ...