473,566 Members | 3,102 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.
6
24,161
thread by: Hal Vaughan | last post Jul 17 '05 by: Hal Vaughan
I've been reading up on file permissions (including FilePermission, Permission, and Permissions). From what I see, these are temporary and forgotten when a program exits (if I'm wrong, tell me, please). I'm installing a program on a computer and that includes configuration files that change regularly. When I create the configuration files,...
3
4,479
io
thread by: IS | last post Jul 17 '05 by: Raymond DeCampo
Hi, I am new to java.io.* classes, and have a situation where I can't make a copy of my binary files. Txt are being copied with no trouble but when it comes to binaries i guess I am missing something since their structured is changed and are not read by an application correctry (Word, ACDSee etc.). At the moment, I have a JSP doing...
0
2,122
thread by: harish | last post Jul 17 '05 by: harish
i am trying to install jdk1.4.0 using silent installation. i am performing the following steps: 1) First i am writing to a .iss file using the command: j2sdk-1_4_0-win.exe -a -r -f1"C:\setup.iss" 2) then i am going thru the installation by entering the destination path and the installation is getting successfully finished. 3)i...
0
2,758
thread by: Weasel | last post Jul 17 '05 by: Weasel
Does anyone know about a free API to insert textual data (like EXIF) into JPEG's and/or TIFF's? I've looked around but haven't found anything worth using. Most of the things I've found are, naturally, tools for extracting info from omages but I want to insert data... Regards Peter
0
5,592
thread by: Kookymon1 | last post Jul 17 '05 by: Kookymon1
This is an attempt to respond to an older question (several months). Date: 2002-03-07 13:10:23 PST Subject: On the Common DOM API and Applets. The original message was: >LiveConnect and the JSObject technique are Netscape technologies (or >related to). I want an alternate way of accessing the HTML DOM from >Java Applets and to call...
3
1,855
UML
thread by: Phil... | last post Jul 17 '05 by: Jake
is this the right place to ask for a recommendation for a free UML thingy? tnx, phil...
8
20,100
thread by: Jova | last post Jul 17 '05 by: Glen Herrmannsfeldt
Is there a method or way for me to take a couple of char's and make a sting out of them . Example of what I want to do. String | char b = b ba = a bad = d
1
2,444
thread by: sumithradevi | last post Jul 17 '05 by: Lasse Reichstein Nielsen
Hello Friends, I have two forms(form1 and form2) on my html page. question1 : can i access form 1 variables in form 2?. if so how? question 2: when form2 action is saveci.jsp . can i access form1 variables in saveci.jsp. if so how?. basically when form2 is submitted, form1 variables should be accessed in the jsp which processes form2.
0
2,992
thread by: Pat Kelley | last post Jul 17 '05 by: Pat Kelley
I am trying to feed database column data into a bean using JSTL expression language: <jsp:setProperty name="fileWrite" property="fileText" value="1"/> <c:set var="test" value="test"/> <c:forEach items="${query.rowsByIndex}" var="row"> <jsp:setProperty name="fileWrite" property="curColValue" value="${test}"/> <c:out value="${row}"/>
1
545
thread by: Rick Trotter | last post Jul 17 '05 by: Raymond DeCampo
I was trying to write some polymorphic application code and found that a superclass method implementation gets invoked when I expect a subclass implementation. Here's how I have abstracted the problem. I have a base class - ClassA. I have a subclass of ClassA - ClassB. Both classes implement foo() - exact same method signature. My...
2
16,708
thread by: Murat Tasan | last post Jul 17 '05 by: Murat Tasan
i have an inner class and an outer class, both of which have an identically named member. how from the inner class can i reference the outer member? (the example code should illustrate this problem). class Outer { int x; class Inner { int x;
0
2,030
thread by: Paul Thomas | last post Jul 17 '05 by: Paul Thomas
Is it possible to get multiple instances of JVM for applets running in different browser windows? I am running Java Applets in Internet Explorer (IE 6) using SUN Java Plugin. When I open the applets in different windows I want to get different instances of the same Java Virtual Machine. Is there way any I can do this? Thanks in advance
1
2,794
thread by: Robert Sullivan | last post Jul 17 '05 by: Silvio Bierman
When we run our Java application the Java heap reports at 80MB but the Windows task manager reports 111MB. What accounts for the difference?
0
1,370
thread by: Bob Sullivan | last post Jul 17 '05 by: Bob Sullivan
Running as an application the default thread group is "main" with a priority range of 1-10. Running as an applet the applet's thread group has a priority range of 1-4. Any threads created to run higher than 4 are all pushed down to priority 4. The call to setMaxPriority does not appear to have any effect- the applet thread group remains at...
3
4,283
thread by: Rene | last post Jul 17 '05 by: Rene
Hi, i'm a newbie at java and have a question for beginners. So i'm try to create a type of parser for a input-string. i take a StringTokenizer to cut the Sting into token. But i want, that the seperator belongs to the token and not to the next token. is there a chance to do this, or is there a better way to spilt a Strong? Thanks, Rene
0
2,175
thread by: Robert Brown | last post Jul 17 '05 by: Robert Brown
My Java application (a standalone server) consumes 80% CPU right upon startup for no apparent reason. If I do a kill -QUIT on the process all the Java threads are idle. The app uses native JNI libraries including oracle OCI driver. So given that there is no activity in the JVM something must be happening in the native code and I want to do...
4
18,323
thread by: sumithradevi | last post Jul 17 '05 by: Raymond DeCampo
Hello Friends, I am getting the following error. java.sql.SQLException: ORA-00020: maximum number of processes (100) exceeded I am closing all my resultsets and all my connections in the try block. should i close ResultSets and Connections in the catch block aswell?.
0
1,438
thread by: Mainlander2k | last post Jul 17 '05 by: Mainlander2k
can anyone tell me where i can get hold of a copy of Jbuilder2, i know its very very old. But im need it for my Univeristy assignments. If anyone has a copy and would like to send me it, i would be very gratefull.
3
2,217
thread by: Murat Tasan | last post Jul 17 '05 by: Raymond DeCampo
i asked something about java optimization before, but i gave a very poor example... leading to not much help... so here is a better situation. i have a Map, and i'm constantly picking entries from random from this map. in one method, i only use the map. in another method, i use an array of keys from the map, stored seperately. method a...
2
6,111
thread by: Murat Tasan | last post Jul 17 '05 by: Raymond DeCampo
here is the situation... i have an array... and i select something from random from it. i pick a random number x by using Math.random() and multiplying it by the length of the array. but this gives me a double, not an int. so when i go to use the array, it needs an int. in the language spec, it tells me that round-towards-zero is used when...
1
3,653
thread by: soni29 | last post Jul 17 '05 by: Cory
hi, i'm working on a java editor, college assignment, i wanted to add the intellisense option in it, but don't know where to start. i was thinking about displaying a context menu after the user hits the . (period), but is this the best way? And how do i go about getting the methods And variables associated with the class? Thank you.
0
2,003
thread by: Cory | last post Jul 17 '05 by: Cory
I'm trying to capture the audio being written out through my DirectSound driver using JMF 2.0 or, more preferably, any sound comming from my speakers. I'm not even at the code phase of this project yet, I am simply testing things out to see if it can be done. Using JMStudio, I am unable to capture sound being played by the DirectSound driver....
0
1,406
thread by: Prasanth Dash | last post Jul 17 '05 by: Prasanth Dash
I want to open the browser from a stand-alone java application. How to do it? anybody pl jelp me. thanks Prasanth
0
1,207
thread by: ujas_egroeg | last post Jul 17 '05 by: ujas_egroeg
Hello, Our company has just started the implementation of process standards and I am facing a problem. I am told to represent our system where the browser calls the Applet. Like most HTMLS, ours too have a lot of PARAM values and lot of scripting involved. I have completed the part where the Applet does the remaining processing, but am...
0
1,548
thread by: Rick | last post Jul 17 '05 by: Rick
Hi, I'm trying to make applets as small as possible. Most applets only needs some textfields, a list and some buttons. Here I can choose between AWT and Swing components. Swing looks nicer but how about size in bytes and compatibility? Which are the smallest and are Swing components as much compatible as AWT or not? Greetings, Rick

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.