473,549 Members | 2,846 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Java Forum

Java programming language (Sun Microsystems) - Ask questions about java programming, OOP, JRE, SDK, Swing, Plugins, Java Virtual Machine(JVM), Java Libraries: Collection, XML Processing, Security, JDBC, JNDI, RMI, CORBA, AWT (GUI) and more.
0
1,399
thread by: kelvSYC | last post Jul 17 '05 by: kelvSYC
I'm new to event-driven programming, so I need some help with resources to get me started. To be specific, I'm currently making a program where it creates a game board, and I need help in creating code to detect when a piece is moved to a space on a board. -- I am only a mirage.
7
6,218
thread by: Alexandr Molochnikov | last post Jul 17 '05 by: Florian Laabs
Hello, I've spent a few days trying to get Apache and Tomcat work together via JK module. First I followed the following HOWTO link: http://www.johnturner.com/howto/winxp-howto.html and managed to get Tomcat static html page load from Apache server without specifying 8080 port, like this:
0
1,724
thread by: Alfonso | last post Jul 17 '05 by: Alfonso
I'm starting to proagram in Java and in my browser ( ie 6 ) I can't see an Applet. The browser tell me if I want to install jre 1.4.2, I do it and restart the pc and after it tell me if I want to install .... Why ?
0
1,905
thread by: kuba | last post Jul 17 '05 by: kuba
has anyone tried to open *.pst files (format of outlook message archive) with Java? if so, could they give me some hints how to do it? which technologies to choose and so on... :-) thanks in advance
1
5,919
thread by: Put 030516 in email subj to get thru | last post Jul 17 '05 by: Put 030516 in email subj to get thru
I've always been bothered about having to statically declare the size of a Java applet window (container?) in the calling HTML. I've always wanted the moral equivalent of width=50% statement (of the window or frame). I can sort of get an example working in a Mozilla browser: > <!-- This works on Mozilla only (and maybe netscape) --> >...
2
10,159
thread by: Hal Vaughan | last post Jul 17 '05 by: Hal Vaughan
I have no background in encryption, so I'm working with samples I've found in various places and patching them together. I know Blowfish can use a 56 byte key. The version of this program in Perl has no problem with a 56 byte key, but this Java version has problems if I use a key that is any length other than 8 bytes. Is there something I...
1
2,908
thread by: Steve W | last post Jul 17 '05 by: Phil...
I've searched over and over again and have not been able to find a definitive answer. Basically, we have a heavily JavaScripted web site. What I was hoping to do was to start enhancing our site by calling some Java functions via JavaScript. I have tried every sample I could find on the net and none of them works with Mozilla or Explorer....
2
2,311
thread by: D | last post Jul 17 '05 by: D
Hi, I have some old code that uses the deprecated copy command as : ByteArrayOutputStream bout = new ByteArrayOutputStream(); StringReader sr = new StringReader(strString); copy(sr,bout); how could I achieve the same result without the now redundant copy command? Thanks
0
1,497
thread by: Geno Timlin | last post Jul 17 '05 by: Geno Timlin
In Weblogic 7.x, I can define a bean using the Struts bean:define tag and then access the bean's methods in a script. But in Weblogic 8 the same code does not work. <logic:iterate name="myForm" id="myDTO" property="myDTOCollection" type="MyDTO"> <bean:define id="hyperlinkParms" property="hyperlinkParms" name="myForm" scope="session"...
1
2,702
thread by: Asad Khan | last post Jul 17 '05 by: SPG
Hi, I wrote a few methods in a class, and I am using someone else's code that interfaces with the database. I created some test classes, and when I run it, I get the following error: *********************C:\Program Files\DrJAVA org.jdom.JDOMException: SAX2 driver class org.apache.xerces.parsers.SAXParser not found: SAX2 driver class...
1
4,206
thread by: David | last post Jul 17 '05 by: hiwa
I need to write a regular expression to group lines of text separated by a blank line. Ex. Input: line1 line2 line3
0
1,729
thread by: Al | last post Jul 17 '05 by: Al
Small grid applet is getting better with it's size 50Kb. http://24.60.235.213/saratable/index.html http://24.60.235.213/saratable/example5.html -Al
5
2,024
thread by: Angela K | last post Jul 17 '05 by: Jim Flath
I need to translate this code into java, can anyone do it? #include <iostream.h> #include "LinkedList.h" #include "mystring.h"
3
1,977
thread by: Chris Thiessen | last post Jul 17 '05 by: Chris Thiessen
Hi, I'm Chris Thiessen. My partner and I need your help. We're finishing up what we think is a great compliment to the core Java API's, but we need feedback from other developers. We'd really appreciate it if you could spare 5-10 minutes to fill out a survey and help us shape our creation to your needs. Those who do so before November 1...
3
30,816
thread by: Asad Khan | last post Jul 17 '05 by: SPG
I have the following method inside I class, public boolean equals(Object o) { return (this.equals(o)); } but when i call this method by "foo.equals(bum)" where foo and bum are some objects, I get a java.lang.StackOverflowError?? I kinda know why its happening; I think it calls the same equals method and
3
12,839
thread by: - Steve - | last post Jul 17 '05 by: SPG
Example String testString = "Testing \t tabs"; JOptionPane.showMessageDialog(null, testString, "TEST", JOptionPane.INFORMATION_MESSAGE); Instead of getting the output "Testing tabs", I get something more like "Testing | tabs" (although it isn't a pipe symbol, it's something unusual).
0
1,481
thread by: Jean Honorio C. | last post Jul 17 '05 by: Jean Honorio C.
Hi: My name is Jean Honorio, Magister in Business Administration candidate of the Universidad del Pacifico, Lima, Peru. As a part of my research thesis to get my grade of magister, I am studying the consumer behavior of the software component market. I would like to invite you to participate in a telephone interview about the things you...
2
2,472
thread by: Anthony Calabria | last post Jul 17 '05 by: Frithiof Andreas Jensen
Is anyone aware of iterative numerical optimzaiton routines in Java and/or Python? I'm looking for a routine similar to the fmincon in Matlab, powell in IDL, solver in Excel. There appears to be an unconstrained optimization routine in the book "A Numerical Library in Java for Scientists and Engineers" although I'd prefer a constrained...
0
2,194
thread by: Michael Alers | last post Jul 17 '05 by: Michael Alers
Hi, I have the problem switching off the "loading of external DTD" feature while transforming xml/xslt with XALAN. The used xml-parser is XERCES. I know how to switch off this feature when only parsing XML (SAX-API) ( saxParser.setFeature("http://apache.org/xml/features/nonvalidating/load-exte rnal-dtd", false) ) and I would like to know...
0
1,600
thread by: ¡Ói?T | last post Jul 17 '05 by: ¡Ói?T
~ Let us linux ~ -----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World! -----== Over 100,000 Newsgroups - 19 Different Servers! =-----
1
6,648
thread by: Michael | last post Jul 17 '05 by: Tarken
Hallo I have the following problem: Within a web application I have to access the Java methods from JavaScripts. I'm using Sun's Java virtual machine version 1.3.1. Webbrowser is Microsoft Internet Explorer 5.0 Now the JSP: <html> <head>
0
1,278
thread by: Chris Thiessen | last post Jul 17 '05 by: Chris Thiessen
Hi all, Thanks to everybody who filled out the first version of the survey, and for all the great suggestions for how to improve it. I've put up a new version which takes your suggestions into account. Just to repeat myself, the highlights of the product are: - Enhanced, type-safe collections (for int, char, etc.) - Simplified I/O -...
6
8,871
thread by: Jack Smith | last post Jul 17 '05 by: Sean Kenwrick
Hello, any help appreciated with following problem. I figured out the algorithm (I think), just having trouble proving it is optimal. Suppose we are given n tasks each of which takes 1 unit time to complete. Suppose further that each task has a deadline by which it is expected to finish. IF a task is not finished by the deadline, a...
0
3,392
thread by: abcd | last post Jul 17 '05 by: abcd
kutthaense Secretary Djetvedehald H. Rumsfeld legai predicted eventual vicmadhlary in Iraq mariyu Afghmadhlaistmadhla, kaani jetvedehly after "a ljetvedehg, hard slog," mariyu vede legai pressed Pentagjetvedeh karuvificials madhla reachathe strategy in karkun campaign deshatinst terrorism. "mudivae maretu winning or losing karkun global...
0
1,420
thread by: Lauren | last post Jul 17 '05 by: Lauren
learn as much about computers as possibe. They are going to help us in the long run. Thank you Lauren email or resond to me

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.