473,554 Members | 3,241 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,405
thread by: Thinkit | last post Jul 17 '05 by: Thinkit
Are there any good libraries of arbitrary precision binary floats? I'd like to specify the mantissa length and exponent range. Hexadecimal output would be best (decimal is disgusting with binary floats).
9
3,735
thread by: Hal Vaughan | last post Jul 17 '05 by: Hal Vaughan
In the app I'm working on, there is a need, from all classes, to get configuration information. Much of that info is stored in single line files (which may be put in the Preferences structure in java.util.prefs later). I've experimented with different ways to access these modes. Part of the problem is that I have to be sure the "home" mode...
0
1,493
thread by: PASSALACQUA | last post Jul 17 '05 by: PASSALACQUA
hi does anybody know how i wan do for find a ressource with getClass().getResourceAsStream in a war. it's ok in a jar but i don't know why, in a war, i don't arrive to do that. thanks, nico.
1
2,906
thread by: J Peaks | last post Jul 17 '05 by: PerfectDayToChaseTornados
All, We are soon to be hosting a very important system but are currently having some problems with setting this up on our Redhat Linux environment. We are running the following: Redhat 9 (all updated using up2date) kernel 2.4.20-20.9 Apache 2 (specifically 2.0.40-21.5, the current default for Redhat 9) Tomcat 4 (I do not know exactly...
0
1,486
thread by: news.dsl.pipex.com | last post Jul 17 '05 by: news.dsl.pipex.com
Greetings, I'm trying to find out how in the source you set the version/vendor/title information so that it can be read at runtime. All I've found is mention of ClassLoader in relation to packages. I understand that the info is supposed to be setable for packages and there is a mention of .definePackage for the ClassLoader - but this...
3
8,919
thread by: Tejus | last post Jul 17 '05 by: Phil...
Hi All, A strange problem in java on unix. When i use File.renameTo(File) to move a file from one location to another,it does not work if I try to move to a different partition. or (a file system mounted elsewhr) Works fine in Windows. Anybody's knows y?
9
2,504
thread by: Vanessa BJ | last post Jul 17 '05 by: Crownfield
Hi. I am an amateur Java enthusiast. I currently work as a carpenter and I moonlight on the weekends as a photographer. I'm trying to transition a career change. Which Java exam should I start with? Programmer? Or Developer? How much of the exam will rely on memorization? How much will be from programming skill? How do they measure my...
4
5,956
thread by: Jack Smith | last post Jul 17 '05 by: Dmytry Lavrov
Hello, I am working on the following problem. I need a divide and conquer algorithm to solve the following problem. Any help is appreciated. I have a set of coordinates (x,y) and each coordinate has an ID and load factor. The load factor is a count of all the coordinates that are northeast of a point (x,y) (i.e. all points (x_i,y_i)...
1
1,677
thread by: vladserge | last post Jul 17 '05 by: vladserge
Hi, can someone explain the behaviour of that snip public class Test { public static void main(String args) { try { Class c = Class.forName("BUG");
1
2,214
thread by: Charon | last post Jul 17 '05 by: Nathan Zumwalt
What are the rules/laws in regards to building an application based in java and then selling that application ? Are there hidden costs or fee's that must be paid to SUN before one may comence sales ?
2
1,630
thread by: CRM | last post Jul 17 '05 by: Nathan Zumwalt
Hi, My friend forwarded a mail. He got gift from www.techieindex.com . He participated a poll. We can read articles and news about this issue on www.techieindex.com . The question is "Will IM replace e-mail?". This will be a great opportunity to everyone.
5
3,345
thread by: AlanR | last post Jul 17 '05 by: Raymond DeCampo
Hi, I have to implement(or possibly acquire) a queue that manages priorities. Low priority elements cannot get lost in the queue indefinitely if there is a sustained, constant flow of high priority messages.I am thinking the best way to do this is to up the priority of lower priority items after a defined time period, eg. with a TimerTask....
5
3,912
thread by: Kid A | last post Jul 17 '05 by: Kid A
I am developing a Struts1.1 based application, that returns an Excel File generated by Jakarta's POI classes. One of the requirements is that the file be stored in the SESSION ONLY, not on the file system. Is this even possible? Doesn't a file need to be physically present before a reference to it can be stored in the session? prompt...
2
4,958
thread by: kimbuba | last post Jul 17 '05 by: kimbuba
Hello all. i have e little question about tomcat. I've installed it on RedHat9 i use startup.sh to start the server. the question is: is there a way to redirect stdoutput directly to console? In example: if on my servlet i call System.out.pritln("Hello"); i'd like to see it as output on the virtual linux console that started the daemon...
0
1,707
thread by: Jens Christian Larsen | last post Jul 17 '05 by: Jens Christian Larsen
I have downloaded and installed the MIDP and CLDC reference implementations from java.sun.com but I can't seem to get them to work properly on Windows. When I start one of the example MIDlets in the MIDP dir from the command line, it starts up and displays a list of midlets. However, when I select one of the midlets I get the error: ...
3
2,817
thread by: Randy Given | last post Jul 17 '05 by: cornflux
What is your favorite Java development environment? What others have you tried? What are some pros and cons of each? Thanks!
1
1,604
thread by: Kevin | last post Jul 17 '05 by: John Kordyback
I posted this a couple of hours ago, but it didn't show up on my server. Apologies if you see this twice... ---------------------------------------------------------------------------- Say I have a system in which a central server is processing requests for magazine subscriptions. There are two types of requests that could come in -...
0
1,368
thread by: Joe M Blow | last post Jul 17 '05 by: Joe M Blow
First off thanks to anyone who helped me with the trounding to two decimal places... Now for school i need to make a geometry class . I made all my formulas, and im just makeing a drawstring such as this screen.drawString("The volume is"+units+squared,10,20); Now i am using a size 9 font,
0
1,239
thread by: Joe M Blow | last post Jul 17 '05 by: Joe M Blow
I have the CD for the listed above... Willing to sell Copies, with instructions (how to use cd) not the java code but will provide manuals on java code perfect for any beginner send inquires to hillt@rogers.com
0
1,519
thread by: Lafoopsie | last post Jul 17 '05 by: Lafoopsie
Hi all! I have an GUI application written in C++ for linux. Now I have to show Java applets in this application. Some possibilities are: - Link the Java appletviewer with my application. Is this possible? Can I make the appletviewer appear on the position I want it, and without any borders (so just the applet)? - Use another...
1
719
thread by: Ron | last post Jul 17 '05 by: John Kordyback
It has been a while since I last programmed in java, I am getting an error trying to instaniate one of my classes, public class teamStats{ String list; public void teamStats(String newlist){ list=newlist; } }
0
3,478
thread by: Vic Cekvenich | last post Jul 17 '05 by: Vic Cekvenich
Here is my favorite tag: http://displaytag.sf.net and see examples (in upper right). Grid, Sorting, nested, group, export, everything you like, plus it's free. Here is example code of how I used it: http://cvs.sourceforge.net/viewcvs.py/basicportal/bPproj/bP/WEB-INF/pgs/forums/ArticleLst.jsp You can view here run time by clicking here:...
3
5,805
thread by: Hal Vaughan | last post Jul 17 '05 by: Hal Vaughan
I'm not sure what the correct name for this would be. I'd think it's either an indirect reference, or a pointer, or something like that. I'm working on a program that would call a series of classes in different orders and there are times where I may add extra classes that weren't part of the original design. I'd like to be able to store a...
3
13,662
thread by: Christopher R. Barry | last post Jul 17 '05 by: John Kordyback
I need to search and replace multiple words in one pass of an input stream or string. For example, given the input: "The quick brown fox jumped over the lazy dog's back" and given the replacements quick -> slow jump -> walk
6
3,430
thread by: Ed | last post Jul 17 '05 by: PerfectDayToChaseTornados
Here's the scene: 1) XP Pro, with IIS installed and running, as well as complete .NET Architect Enterprise development environment 2) Tomcat server 4.1.27 in the default directory jakarta-tomcat-4.1.27 3) Java NetBeans "cobundle" installed in the default directory (j2sdk_nb\j2sdk1.4.2) 4) JSP environment variables set (JAVA_HOME and...

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.