i have a financial application which needs to run java application on mainframes. Any ideas how i may do it. where do i get the jvm for the various OS. !
I was trying to create a 2-3-tree. After insertion of the third element I got my first problems: somehow the left element of the "root" was set to "null". before the modifying method was closed, everything was alright. Afterwards I tried to reference the pointer, but it was null. The nodes ...
[CODE] class Outer {private String foo = "Outer.foo";private String bar = "Outer.bar";private Inner1 inner1 = new Inner1();private Inner2 inner2 = new Inner2();private class Inner1 {private String bar = "Inner1.bar";Inner1() {System.out.println("new " + getClass().getName() + ": ...
125 byte By
coledan at 2007-9-30 17:22:37
I want to make a program that recognize a melody that play.Any little help will be welcome : )Thank you ,Daniel
Hi,I was wondering if there is any utility in java that can allow you to get/set permissions of files/folders? ThanksPreetham
362 byte By
ariging at 2007-9-30 17:23:16
I gonna to write a program like Telnet in java. It comes two problems first..1. of course we got use socket to receive/post data. but how to trans ascii code/unicode to ANSI code?2. If use Swing to draw the "termial screen", what object should I use? Jtext? JLable?It must allow users to input ...
Hi,Why do I keep seeing J2SE 5.0 all over this website? At first I thought it was a misprint because when I tried download it was 1.5.0 but I see this "5.0" all over the java home page. Is this a marketing ploy and Sun is upgrading their version numbering system or are the new features of "5.0" ...
269 byte By
hectar at 2007-9-30 17:26:04
I am getting a first and last name from the database. now i need to create a userid like lastname and first letter of the first name. I did this. Now i need to check if the userids are unique. If it is not unique i can add a 1 to it. Can anyone help me in this.
Hello. In the API reference manual J2SE 5.0 (and earlyer also),"public indexOf(String str, int fromIndex)"is discribed such as,| Returns the index within this string of the first occurrence of the specified substring,| starting at the specified index. The integer returned is the smallest value ...
What differentiates Java 5.0 RC from being a regular release? Is it considered too buggy still, but less so than a beta?
The JVM would essentially just be running my software. The 'appliance' would be just an install of my software on a standard PC running Linux for those who prefer appliances to installing software on their own box. The same software would be available as a standard standalone software package ...
533 byte By
mplatini at 2007-9-30 17:27:40
Hi, everyone.A greeting from a new comer~_~I got a problem when migrating a small program from win2000(j2sdk1.4.0) to winxp(j2sdk1.4.0).That is a small application using JOGL, and i got a "net.java.games.jogl.GLException":"Unable to enumerate pixel formats of window using ...
77 byte By
sasi150 at 2007-9-30 17:28:17
Hi! what is Adopter Pattern in java?Thanx...-Sasi
what is a proxy server. how to configure that one . how it works . any one give example . suppose standalone system means how to configure . i want all details.
what is the diffrence between map and map.entry in core java . where it will be use ful. any one give one example plz.
how to use collator in core java. any one give one example .
what is a daemon thread in java. how it works back behind. is garbage collector is daemon thread or non daemon thread. can u give one example
2388 byte By
khonsou at 2007-9-30 17:29:06
hi, everybody. i think ROUND_HALF_EVEN means when i input 12.5, after the process of setScale(0,BigDecimal.ROUND_HALF_EVEN), i can get 13.but in fact, the out put is 12....so. i tried 13.5....i get 14( that's what i want...) and i tried more, all the result are right but 12.5..........and i ...
754 byte By
arfanari at 2007-9-30 17:29:26
Hi, i am a new beginner in Java technology. I feel confused with a lot of technology in java, there are J2SE, J2EE, J2ME, Java Beans, Java 3D,etc. J2EE contain JSP and Java servlet. I just want to ask why java is so complex ? In my opinion, software to build Java application is not user ...
784 byte By
Marader at 2007-9-30 17:29:55
What would the interest be in a JavaScript to Java system that can create and use Java components?Examplevar f = create("javax.swing.JFrame"),b = create("javax.swing.JButton"),u = create("X44.events.Uplink");f.getContentPane().add(b);b.addActionListener(u);u.actionPerformed = function _() { ...
I've heard about a new Java Release which is optimized concerning the size of the J2SE SDK Platform file. The current file is about 51 MB big including a lot of languges. I'm searching for a smaller file (5MB) which only contains one supported language or even 3 specific languages. At the ...
473 byte By
vineetb at 2007-9-30 17:30:22
Hi,I am trying to run my java application (Windows XP, 2003) in "server mode" by using the -server option but I am getting this error -C:\>java -serverError: no `server' JVM at `C:\Program Files\Java\j2re1.4.2_05\bin\server\jvm.dll'.The server jvm.dll is located in ...
Annotations, a new feature in J2SE 5.0 (Tiger), brings a much-needed metadata facility to the core Java language. In this first of a two-part series, author Brett McLaughlin explains why metadata is so useful, introduces you to annotations in the Java language, and delves into Tiger's built-in ...
353 byte By
vineetb at 2007-9-30 17:30:38
Hi,I have a multi-threaded (about 120 threads) application which crashes without after running for a while.I get this in the windows event viewerFaulting application java.exe, version 0.0.0.0, faulting module kernel32.dll, version 5.2.3790.0, fault address 0x000017b1.Anyone knows why this would ...
89 byte By
sanju_76 at 2007-9-30 17:32:30
What is the command to unload a class @ runtime...(the opposite of Class.forName.)
I'm trying to communicate between a nokia 6600 and a linux laptop. I downloaded the java IrDA API's from http://www.hpl.hp.com/personal/Jean_Tourrilhes/IrDA/Java.html I don't know if anyone has played around with these, but if you have it would be great if I could ask you a few questions ...
153 byte By
dadaocy at 2007-9-30 17:34:07
why it is not permitted to put the key word, static, in the front of a method which implements a interface method,and how to understand the sense.
windows platform.Like C:\j2sdk1.5.0\bin\javaws.exe's image is JavaCup.ico, but windows default image.
String s1 = "String";String s2 = "String";System.out.println(s1.equals(s2)); //Returns TrueSystem.out.println(s1==s2); // Also returns True// Is this correct ? why ?// == compares by mem add right ? meaning those to Strings have the same memory address ?
hello,at the moment I use J2RE 1.4.2_05 and I plan to update to the new Version 5.0.What differences (dis-/advantages) will result from this update especially concerning Java WebStart.I'm not very experienced in this area.I would like to know what the current situation of development is about. ...
468 byte By
vmeghraj at 2007-9-30 17:35:26
Hi there,I have a class A which has an instance of class B and it is not a transient. Class A is serializable and B is NOT. When I serialize class A it throws an exception "java.io.NotSerializableException". Assuming class B is third party where I don't have any control. In this senario what ...
Is it just me or do others find the following behaviour strange? It seems that in order to break out of the loop in the following, it's necessary to enter some character(s) unparseable as a double. Hitting return *won't* cause it to break:public static void scanInts(String[] args) {Scanner ...
Hi,I am bhimi... I am facing problems with "httpunit", I would like to know how to click the "continue" button in Compose Text Message page of www.mail.yahoo.com. with my destination mobile phone number and text message as setting parameters....(I could set these parameters but could not click ...
MissingResourceException thrown by the ResourceBundle class can be misleading.The MissingResourceException is thrown by the"getBundleImpl(String baseName, Locale locale,ClassLoader loader)"and propagates to the to"getBundle(String baseName, Locale locale,ClassLoader loader)"and then propagates ...
I am looking for (preferably large quantities of) Java source code using the new features available in 1.5 I am going to use the code as part of a test suite for my program which analyzes Java programs. Any suggestions greatly appreciated! Does Sun provide any significant code samples? So far I ...
739 byte By
rlinga at 2007-9-30 17:38:41
Hello,I am trying to retrieve html souce of webpages.The following code works fine for most of the Url's....URL url = new URL(" http://www.coupons-coupons-codes.com/search.asp");InputStream ins=url.openStream(); // read the content of the urlBufferedReader in = new BufferedReader( new ...
Hi, how can i write a Java program to change user acounts passwords in linux?
hi how can i resiza image or other component with mouse similer to jbuilder ide.....thanks
My teacher provided me with a class that allows me to get input from the user. In order to use this class we have to copy and paste it into every folder which this class needs to be used...having 20 different folders for 20 different projects makes this a pain in he butt since I have to keep ...
292 byte By
kkestner at 2007-9-30 17:43:37
During installation, I receive the following error:"The procedure entry point GlobalMemoryStatusEx could not be located in the dynamic link library kernel32.dll"Is there any way to resolve this problem, or am I stuck with installing it only on an XP system?Thanks.
491 byte By
b.dejean at 2007-9-30 17:43:52
Hi.I'd like to get the Sun J2SDK 1.4 for GNU/Linux on PPC32.There's nothing to download on sun.com. Blackdown last release was 1.3 which is obviously outdated. I've found a J2SDK 1.4 packaged by IBM for its pseries but it can run any graphical apps (SIGILL :/) and is very slow (no JIT, or at ...
Hi,My question is if should I use this feature at this time?If I use it now I have to compile my code with JDK1.5.And since it齭 a compile-time generics, so seems it could not give us much more advantages at runtime yet.But I am not sure whether it will have any compatible risk with future JDK ...
104 byte By
sasi150 at 2007-9-30 17:44:47
Hi!what is the correct definition for persistent variable in java?Thanx-Sasi
106 byte By
sasi150 at 2007-9-30 17:44:49
Hi Guys!is it possible to declare an interface without any methods?Thanx -Sasi
The latest version JDK is J2SE1.5RCWhat doed RC stand For ?
1710 byte By
ricotan at 2007-9-30 17:46:05
Hello,I have got a problem with 1.4 Printing. I would like to specify the printer tray for printing on Windows platform (XP and NT4.0). I am trying to use the attribute javax.print.attribute.standard.MediaTray class (ex. MediaTray.BOTTOM).Howerver, I can control the printer tray if I use the ...
I'm writing an FTP client based on a generic socket example I found. I'm not sure if this is a good idea or not. I'm getting a few lines of data from the server, but I was expecting to see the username prompt too. Here's my code...public void run(){Socket clientSocket = ...
Hi All,I tired to put an Array into Vector :/-public Object[][] tobject = new Object[100][100];public Vector TreeInfo = new Vector(); ..... some code for input data into tobject .....TreeInfo.addElement(tobject);<it works !/-But how can i get back value of tobject[1][1] from vector TreeInfo ...
Hi All,I need to implement the windows based authentication system to an intranet based application. In other words, the user should be allowed to log into the application with their windows username and password, so that the application does'nt need store a different password, and the ...
1553 byte By
Kodara at 2007-9-30 17:51:11
Hello..I recently started to learn Java programming at school.. Now I want to do some at home too. I got the Java Development Kit... I set the path to D:\Java\JDK1.5.0\bin and it now recognizes the java commands as commands.. So that's not the problem.The problem is; when I try to compile ...