590 byte By
Voldia at 2007-10-1 4:20:22
Dear Developers,I'm quite new to java and need some help.I am a development support staff, and currently doing software adapation to Mac OS X 10.3. The software runs on j2sdk and j2re which are already available in OS X.I need to copy some files to /j2sdk1.4.2_06/jre/lib/ext. In Windows and ...
There is a fragment of Java code as follows:import java.io.File;import java.io.FileDescriptor;import java.io.FileWriter;import java.io.IOException;import java.io.Writer;public class FilterFileWriter extends FileWriter {private short _tokenCounter = 0;private StringBuffer _buffer = new ...
585 byte By
Igoreka at 2007-10-1 4:24:20
Please, help!I have a problem and I can't resolve it. Maybe you can help me. I hope so.I have 18 JTextFields and they have nearly alike name(txtA1, txtA2, txtA3, txtB1, txtB2...). So, Iwant to do method to process them only have a part of name.For example:public String doJTextFields(String s){ ...
418 byte By
pelhama at 2007-10-1 4:35:12
I havn't decided which exam should take, certified programmer for Java 2 platform 1.4 or platform 1.2?It looks the pass score of 1.4 is lower than 1.2, but probably the difficulity of 1.4 isincreased?Anyone can tell the real difference of them? And please give the suggestions about which books ...
1635 byte By
vpaia at 2007-10-1 4:38:31
Here is my code... for some reason, ithe BufferedReader does not wait for input from the user... I have included the output that i get when i run it...private static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));public static void main(String[] args) throws ...
Even though my latest classes (JARs) are in my (Eclipse) project's CLASSPATH, when I compile my classes via ANT, I get "cannot find symbol" errors. But when I compile them with the Eclipse IDE, it works. I triple-checked the classpath of my ANT build file (but it never changed anyway) and it ...
245 byte By
jag_suna at 2007-10-1 4:44:42
Hi all,Does somebody have any idea about When will be Certification exam for JDK 1.5 will be launched. I heard that some beta exam is available. When will be the full version launced? And How much will it deviate from existing 1.4?
1988 byte By
vpaia at 2007-10-1 4:45:46
ok, so i have a data structure that is a linked list of linked lists, both using the java collection "LinkedList"... it is supposed to fucntion as a queue of integer linked lists...LinkedList llq=new LinkedList();i add objects on to the queue "llq" by using the foll stmts:LinkedList llstate = ...
3186 byte By
m283773a at 2007-10-1 4:54:05
Our existing system is written using Java 1.3.1, and also uses JAI 1.0.2. For our users to access it, particularly those who do not have admin rights to install a full package, we created a ZIP file with the two required jar files, jai_codec.jar and jai_core.jar, which are supposed to be placed ...
Hi everybody,I m facing very different type of problem. i have developed an application in java(based on networking). For that application i needed to maintain a file in which i use to store ip addresses of the other computers in the network.i named the file as address.dat.application use to ...
246 byte By
Ghelyara at 2007-10-1 4:58:36
i have the jdk5 (1.5.0.. whatever) and it wont run on a 1.4.2 RE, is there any way i can compile for an old version without just having 1.4.2 on a different machine and compiling on there (or having a lot of versions of it on this machine)
561 byte By
rlb3778a at 2007-10-1 5:01:36
Regular expression escapes me. I have a line of a CSV file that looks like this:1,,3,2,45.00,"This & That, LLC",0I want the string split by commas but the problem with the line above is there's a comma in the name of the company...I obviously don't want the company name split in ...
Hi , Iam working with jdk1.4.01. to download a specific portion of a file i am need of HTTPClientconnection, HttpClientresponse and nvpairs class. I have downloaded the HTTPClient.zip file from the internet. when i unzip it i couldfind all those files. How to include these files in to my ...
i have a jframe, a jprogressbar and a jbutton. so at the code i can not see the steps of the jprogressbar in this while statement. how can i see the steps of the jprogressbar,and in java is there any way or any thing like DoEvents function in visual basic.i need that so much.thanks for your ...
I like to ask if any one knows how to add jar in a project in netbean 4.0 ide. I have tried almost everything but still unable to make it work. thanks.
880 byte By
anteoa at 2007-10-1 5:17:59
Hi all.I have a java Applet that call Javascript code using the MAYSCRIPT flag.In the code I use JSObject to access the html page.In the java code I call a Javascript code that open a window and populate it.All goes very well with JRE 1.4.2.Now I try to migrate all to JRE 1.5.0_1.The window ...
2020 byte By
tleis1a at 2007-10-1 5:22:12
I have this packagepackage fig08_28;and these two classes:ResultSetTableModel.javaDisplayQueryResults.javaWhat is strange is, that unpon compilation or execution of the second class, it returns a Class ResultSetTableModel Cant be Found.It not a typing error or such thing. because in net Beans, ...
Hi Friends My problem is explained below:--JDBC Connection Caching using OC4JI have Created a Data Source under a specific OC4J(oc4j_alc1) Instance using 9iAS Enterprise Manager Web Site using the following values: GENERAL SECTIONName: OracleAlcDSDescription: Datasource For ALC LogisticsData ...
In an application I am working on, I need to compute the number of time intervals between to date / times. I currently have 2 Date objects, but makeing Calendar objects is no problem. The problem it there doesn't appear to be any 'easy' way to do this; there isn't a method in Date or ...
Is there any other way to force garbage collection besidessystem.gc()Runtime.ExcuteFinalization()I know thoes still does not guranteen garbage collection. How to improve performace to maximize the possibility for garbage collection?Thanks
Hello All,Would some one please tell me how to allocation memory for application that need a lot of memory in Java? I remember you can write system.allocateMem()in your application.
Hello All,Would some one please tell me how to allocation memory for application that need a lot of memory in Java? I remember you can write system.allocateMem()in your application.
Hi - Can anyone please tell me what I am doing wrong?I downloaded jdk-1_5_0_01-windows-i586-p.exe and installed it to C:\Program Files\Java\jdk1.5.0_01 and I downloaded j2eesdk-1_4_2005Q1-windows.exe and installed it too C:\Sun\AppServer.I am running Cygwin and the action I am attempting is ...
727 byte By
Kam_Hona at 2007-10-1 5:48:18
the environment I'm using is jdk1.50._01 + eclipse3.0.1.When I try to type the class in eclipse, the keyword "enum" high-light and show error messages below:- Syntax error, insert ";" to complete FieldDeclaration- enum cannot be resolved( or is not a valid type) for the field Test.Action- ...
114 byte By
Voldia at 2007-10-1 5:52:29
Dear developers,Could someone enlighten me on where to get SDK for IBM OS/2?Thanks,.V.
Hi,I have a webapplication that uses FOP to generate PDF documents. The XSL:FO files are often encoded with iso-8859-1 to support ex 骧? When running on windows there is no problem rendrering these characters correct. I tried installing the application on Linux with default encoding (reads this ...
I want to select a particular printer tray while carrying out printing.I am using JDK 1.3.Can this be made possible.To explain in detail , My application would be actually fetching the printer details .No dialogue box is supposed to pop up.Once the print button is clicked directly the page ...
1020 byte By
liana at 2007-10-1 6:05:09
Please help:We are trying to run an GUI application (AWT) on a Solaris Sun-Fire V100 Server.But we got the following error:java.lang.NoClassDefFoundError: sun/awt/motif/MToolkitat java.lang.Class.forName0(Native Method)at java.lang.Class.forName(Class.java:124)at ...
444 byte By
febxpa at 2007-10-1 6:40:44
I read that: 揗MAPI can be implemented to run on a configuration; example of configuration, and platforms on which the API can be implemented are the Connected, Limited Device Configuration(CLDC), the Connected Device Configuration (CDC), PersonalJava, JDK, and J2SE. This flexible API has been ...
I use Eclipse with Tomcat plugin.How can I debug my servlet?When I try to call the servlet from Browser, I got error message:HTTP Status 405 - HTTP method GET is not supported by this URL--type Status reportmessage HTTP method GET is not supported by this URLdescription The specified HTTP ...
255 byte By
pford68a at 2007-10-1 6:59:39
I have a new computer in which I installed Java 1.5 and J2EE 1.4. I have since learned that the latest Sun Application Server (strangely) does not support J2SE 1.5. Is it safe to install Java 1.4.2 after JAva 1,5, or should I delete Java 1.5 first?
464 byte By
leiroa at 2007-10-1 7:06:28
I am searching for a programmer in java, to create one class that does the following things:1.- Obtain a jpg image from a data base.2.- Transform from rgb to hls.3.- To make a histogram of H and S (Tonality and Saturation).4.- Fom the collected data of the histograms, apply the hashing and it磗 ...
Hi, I am going to school for Game Design and I chose to do a reserch project for one my my classes on java. I know C++ very well, along with DirectX, openGL, and renderware. I have to do a small demo of that I have learned about java. I am just not sure how much I am able to do with java. I was ...
379 byte By
modano9a at 2007-10-1 7:12:35
Hi! i am currently trying to write a code whereby when i click a button it would save a value of lets say +1 in a text file and when i press another button it would display +2 in the same text file and the total of which would be displayed on a label of the same page. the label would ...
4215 byte By
modano9a at 2007-10-1 7:15:35
Hi! I am clueless as to why my set of codes will not be displayed! could someone please offer some assistance? thank you!!!import java.awt.*; // Font, Color, Layout managersimport javax.swing.*; // GUI componentsimport java.awt.event.*; // ActionEvent, ActionListener, WindowAdapterimport ...
Hi. Can someone help me on this matter;I'm using Jbuilder 2005 with java version 1.5.0_01-b08. Now i'm having all kinds of problems with code that used to run / compile without any trouble in JDK1.4. I've read in a old topic ( ...
623 byte By
AlexBoa at 2007-10-1 7:20:04
Hello:I have just installed jdk 5. On the very first trial compilation of my application I received the following error:"S3i2BusinessDB.java": cannot access javax.swing.JTree,bad class file: C:\JBuilder9\Java\jdk1.5.0_01\jre\lib\rt.jar\javax\swing\JTree.class,class file has wrong version 49.0, ...
408 byte By
keskena at 2007-10-1 7:24:31
hi,i'm trying to send a file through socket channel, using bytebuffer...*is there a way to allocate my buf dynamically?*is it a good way to transfer files through socketchannel?my server will use java code, and my client will use C++ code in a symbian supported mobile phone.thanks for your ...
Hey all, not very expert in Java, just installed jdk1.5, and was reading the documentation. Just wondering about new additions like Class Vector<E>, and not sure whats <E> here.
Is there a way to save all the user defined setting for netbeans? I'm getting a new computer and I don't want to have to re-setup all my syntax highlighting, abbreviations, etc, etc. I can't seem to find where all that stuff is stored. Thanks.
1563 byte By
rhatca at 2007-10-1 7:35:51
Not sure this is the right forum for this, but I'll give it a shot. Please redirect me if you think there's a better forum. This is going to look like a "C" problem, but this really is a question about something going on in the interactions between the operating system, the JVM, and a piece ...
Hi I'm using javax.comm to access the serial port. My program has one thread which only reads from the serial port, and one thread which only writes (inorder to send commands to the device). Do I need to synchronize the reads with the writes?Thanks a lot for any help,-Ben
i am new to java and i want to learn about GUI with database programming but the problem is... i dont know where to start! im so confussed... i dont know where to start programming... i already downloaded the j2se and netbeans IDE but im totally clueless... i want to migrate my programs in vb ...
Hi all,Where can I find some free applications online?I don't need applets, but free standalone applications.While browsing Google I figured there are thousands of directory archives for other programming languages such as VB and C, but I found none for java. Why?
hiis the latest version of sdk 5.0?what was the previous version before this?thanks
HI! whi I cannot modify code after GUI creation in NetBeans?e.g. I insert a JTextArea in a JFrame and I cannot modify its width.. I Want to modify all part of my source code... where should I enable such option in ide settings?
432 byte By
ndarioa at 2007-10-1 7:52:25
i just wanted to check is there any new versions of jdk and was suprised to see that update 2 is ready for download.however, when i wanted to check release notes at http://java.sun.com/j2se/1.5.0/ReleaseNotes.htmli was disappointed that it still displays rel. notes from update1, so we have no ...
Referring to post http://forum.java.sun.com/thread.jspa?threadID=496455can someone tell me where can I find th plug-in for using JDK 1.5 in JBuilder X? Unfortunately the suggested link is not working...Tahnks a lot.
469 byte By
grbrga at 2007-10-1 8:15:14
I'm writing an applet that should run on Java 1.1 as well, so I compile with target 1.1, which seems to work. The problem is, I need to access a file on a different server (just read it) but I get a security exception.I was under the impression that 1.1 code did not have such an exception, or ...
I am writing an application which would be having a main frame containing a panel, leading to several other frames with different components.I want to keep the main frame constant through out the application and i want the remaining frames to get new components added as required.But this is not ...