01/10/2018 12:08
Hi to everyone, i have put everything (class,wav and text files) inside a jar in order to deliver my applet. However the method that fills a textarea with the help file can't find it.
Click the link below to run the applet: http://eos.uom.gr/~thanasis/IIE.htm Click the link below to download the jar file: http://eos.uom.gr/~thanasis/IIE.jar Below i provide the code for the method.
================================================================= public String create(Applet myApplet){ Str.... read more

2 answersclick here to view

29/09/2018 12:08
I was a bit surprised to get no useful hits googling oct.tree java download.source This seems like a problem that MUST have been solved about a gazillion times, and is well-understood enough to be all over open-source...
Am I searching wrong? I really don't relish the thought of reinventing that particular wheel.
Help...? Thanks!

1 answersclick here to view

28/09/2018 12:08
Dear Java experts, I've written a small Java 1.3.1 application running on Windows2000 server,that connects to an Oracle database (9i) and to MQSeries (5.3), and passesinformation between them. I installed it as a Windows service, trying boththe generic 'srvany' service utility supplied by Microsoft, and then using acustom 'C' application that launches the JVM and invokes the Java app's'main' method. In both cases, my app runs fine as a service, but dies onlogoff.... read more

3 answersclick here to view

27/09/2018 12:08
I have a very small static method that gets called a lot. Do I have to markit as static final, or is just static enough to have the JRE inline themethod? Jonathan Allen

3 answersclick here to view

26/09/2018 12:08
Explain how to write the code.
How to catch the exceptions with out try,give one example in java

1 answersclick here to view

24/09/2018 12:08
Hi I'm building a small client/server program and need a way for theserver to determine it's IP address if it is connected behind arouter/NAT.
I've searched online and people recommend parsing the HTML fromwww.whatismyip.com to determine the IP. This seems to work, but isthere a more elegant way? I don't like the idea of depending on anexternal website for my IP.
Thanks,Kevin

1 answersclick here to view

23/09/2018 12:08
Hello, I am trying to put together a Java system for playing audio CDs on alarge CD player, I have most of it working But entering all the data likeArtist, Title, track name, track length (seconds) is a real pain in thebutt. What I would like to do is write a java class that would extrack thatinfo from an audio CD placed in the computers CDROM drive. I have looked andlooked and looked and looked, but I can not find any exambles of how to readan audio CD. I have found some C++ stuff but reducing .... read more

5 answersclick here to view

21/09/2018 12:08
I've installed jdk1.4.2_04 and NetBeans under Windows 2000Professional.Everything was working properly and suddenly when I wanted torun the NetBeans it turned out that it can't be run.Just nothing happensafter clicking on icon of NetBeans. And reinstallation of jdk and NetBeansdidn't help me:( What to do?

5 answersclick here to view

20/09/2018 12:08
Every time I go to a webpage that uses Java, I keep gettingthe following error: Java Plug-in 1.4.2_05 is not installed properly I've tried uninstalling and re-installing. I've tried repairing myinstallation. I've tried everything I can think of. Each time Irun through the installation, I get no errors and I'm told thateverything went smoothly. I can run the Java Web Start andrun any of the java apps listed therein. But whenever I go toa webpage that requires the plug in, I&.... read more

2 answersclick here to view

19/09/2018 12:08
I have an old code using java.util.Vector but now it seemsthe compiler on JVM1.5 has issues with it since it'sunchecked or so...
I see that the JavaDoc has some info as followsjava.util.Vector<E> What is that supposed to mean? Did i miss somethingsince my glorious days of JVM1.3?! :)

1 answersclick here to view

18/09/2018 12:08
//For a search button in Netbeans that searches a text file for a record by its part number (PartNo) private void cmdSearchActionPerformed(java.awt.event.ActionEvent evt) { coursework record; try{ input = new ObjectInputStream(new FileInputStream(file)); record = (coursework)input.readObject(); while (record.getPartNo()!=Integer.parseInt(txtSearch.getText())){ record = (coursework)input.readObject(); } i.... read more

3 answersclick here to view

17/09/2018 12:08
Hello all, I was just wondering why sort in Collections doesn't support sorting of a set?How can I go on dealing with that? Thanks in advance.

4 answersclick here to view

16/09/2018 12:08
Hi there, I started learning myself java a while ago and there's still loads ofconcepts and things about the java language i don't know, so i may justmake an arse of myself now...
I use the NetBeans 5.0 IDE to play around with. Sometimes it doesthings that I think (from what I've learned about java) that itshouldn't do. I may just be stupid or something, so could somebodypoint out my faults. Here's a piece of code: import java.net.*;import java.io.*; public class Main { .... read more

2 answersclick here to view

15/09/2018 12:08
How can I grab a function's return using Runtime.getRuntime().exec? I call a Rexx program using: Process p = Runtime.getRuntime().exec(/dir/program.rexx); program.rexx ends with: return string I can't figure out how to grab string. getInputStream() only seems tograb the string if I change the 'return' statement to an 'echo' but Ican't change the rexx code.

3 answersclick here to view

14/09/2018 12:08
hi there, am looking for articles explaining how to use an activex control fromjava.
thanx for any help/suggestions

2 answersclick here to view

eDiscover
Helpforce eDiscover provides technical articles updated each day
Click the logo to go back to the main page
Java

Helpforce eDiscover RSS feed contains the latest technical articles in RSSWe have a vast archive of technical informationWe have a vast archive of technical informationJava is a programming language developed by Sun Microsystems (which has since merged into Oracle) and released in 1995 as a core component of the Java platform. With many innovative features, Java is currently one of the most popular programming languages in use, particularly for client-server web applications, with a reported 10 million users.

Search eDiscover
  
Categories

Click an icon to go to that category

Helpforce eDiscover contains articles about Microsoft Windows Helpforce eDiscover contains articles about Apple products and MacOS Helpforce eDiscover contains articles about Linux and POSIX operating systems Helpforce eDiscover contains articles about Helpforce Helpforce has a large variety of technical information and articles for you to read Helpforce eDiscover contains articles about databases, MYSQL, SQL Server Oracle Helpforce eDiscover contains articles about Java, JVM and the JRE Helpforce eDiscover contains articles about the QNX operating system Helpforce eDiscover contains articles about Oracle Solaris and Open Solaris Helpforce eDiscover contains articles about RISC OS, Acorn and the BBC Micro Helpforce eDiscover contains articles about Amiga and AmigaOS