473,574 Members | 2,233 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.
1
3,835
thread by: Martin Zeigler | last post Jul 17 '05 by: Doug Pardee
I have been using Weblogic 5.1 for a couple of years. I currently pass an object as a parameter to my ejbCreate method. The data in the object could be modified by my bean and the caller needs to see these changes. This worked fine in 5.1, but it does not work since I have upgraded to Weblogic 7.0. The changes to the object passed as a...
2
3,445
thread by: NepaliGuy | last post Jul 17 '05 by: NepaliGuy
1. Can subclass inherit the static methods? 2. Can you overide the static menthods?
2
4,185
thread by: Patrick Brown | last post Jul 17 '05 by: Joris Van den Bogaert
Hi, I was just wondering what classes/methods are used to clear the screen of the console. Also, how can you take input from the keyboard so that the enter key need not be used. ( e.g. the arrows for a snake-race game ) Thanks, Patrick Brown
2
14,184
thread by: Lem | last post Jul 17 '05 by: surte
How do I close a JFrame Window, other than calling system.exit(0) or dispatchEvent()? Thanks in advance, Lem
0
1,330
thread by: Lem | last post Jul 17 '05 by: Lem
How do I reference a class from its inner class? For a JFrame, does its this reference change, in other words, can I do this: JFrame THIS = (JFrame)this; and use THIS throughout my entire code? Thanks in advance, Lem
0
5,560
thread by: webster | last post Jul 17 '05 by: webster
i got this error when trying to install java 1.4.2. --------------------------------------------------- Java 2 sdk, SE v1.4.2 Installer Information internal error 2755. 1624, http://java.sun.com/webapps/download/GetFile/1.4.2- b28/windows-i586/Java 2 SDK,SE v1.4.2.msi ------------------------------------------------------ What is the...
1
1,751
thread by: gerrymcc | last post Jul 17 '05 by: Neomorph
I'm trying to write a program that allows students to practice written work for their music exams. I want to create an Answer class that will contain a sequence of bars (Measure bar). Each Measure contains two NoteSpecies2 objects, except for the last, which contains a single NoteSpecies2 object. I've tried the following design ...
0
7,187
thread by: Cindy | last post Jul 17 '05 by: Cindy
i am a beginner to JSP. I know how to use crystal report. i know how to call crystal report from asp.net but now i am learning how to call from jsp code. I need help and sample code on how to call crystal report from JSP. Including the use of store procedures, parameter passing, setting the report source etc. Anybody knows how to do this...
6
21,748
thread by: Amardeep Verma | last post Jul 14 '06 by: devatha
Hi, I have an image, in JPEG format, stored inside a byte array. I have to render that image. I will not be able to open a file connection and write that image to HDD, either on client side or on server side. So my query is this, how do I render an image which is stored as a series of bytes? I have tried out.println and IMG tag, but they do...
0
6,257
thread by: mdh | last post Jul 17 '05 by: mdh
I am trying to learn the basics of MVC applications using a Tomcat infrastructure. I'm starting by building a simple application with: * a login.jsp page for a basic login form with a action pointing to "loginValidate.jsp" * a loginValidate.jsp page that references logic to validate requests * a loginBean class used to pass info between...
2
11,918
thread by: robert walker | last post Jul 17 '05 by: John C. Bollinger
hi all, to my webapp named mrf, i have added load-on-startup tag to mrf\WEB-INF\web.xml so i added a snippet like so <servlet> <servlet-name>loadDbProperties</servlet-name> <servlet-class>mrf.LoadDbPropertiesServlet</servlet-class>
3
6,376
thread by: Simon Wigzell | last post Jul 17 '05 by: Phil
I recently wrote a program with MS Visual Studio C++, sent it off to the client where it didn't run, after some probing I discover they are on a Mac! My program is a MSF interface that is really only 2 File buttons with corresponding text fields. The actual guts of the program is a C file that accepts 2 file names as arguments and reads from...
1
6,555
thread by: Harry | last post Jul 17 '05 by: Ingo Pakleppa - ingo at kkeane dot com
Hi there, I have a problem attempting to get a parameter with the request.getParameter method. The problem is that the method is cutting off the parameter at 30 characters. The setup is as such. We have a flash file embedded within a html page. The flash file contains href links, and these links contain the parameters and their values. The...
0
4,301
thread by: Fadzi Ushewokunze | last post Jul 17 '05 by: Fadzi Ushewokunze
hi guys... i am doing the eclipse-tomcat-jboss-mysql integration but i just cant get to see why jboss wont start properly; hes a snippet of the error i am getting: Starting deployment of package: file:/C:/jboss/server/default/deploy/mysql-service.xml 15:14:32,078 WARN Duplicate throwable nesting of same base type: class...
5
2,580
thread by: dominic | last post Jul 17 '05 by: dominic
Hi, I'm writing a program to accept dragging files from the OS (I'm using Windows) to my Java application. Everything works fine, excpet that the Java window cannot get the focus when drag enter/over. I tried to put frame.requestFocus(); in my DropTargetListener, but it still doesn't get the focus. I'm sure that the code is being...
1
1,755
thread by: ptan | last post Jul 17 '05 by: Roedy Green
Hi there, need your help. I have a program accept users' file. then, the file content's as a string object. then, it will generate a java source file. when i compile the generated java source file -- it throws illegal escape character errors. any idea?
12
2,769
thread by: Dave D | last post Jul 17 '05 by: Kyle
What's the Big Java Development Environment These Days? I used to use VisualCafe years ago.... -- Dave
1
2,435
thread by: Ye Zhou | last post Jul 17 '05 by: Sideshow Alex
Hi all, I am trying to convert a perl program into java and I got stuck in the regular expression part. It seems like java.util.regex couldn't help much. I checked with Apache regexp and didn't get the right way to do it either. Therefore, I am writing to see if someone could throw a light on how to do a translation on the statement below....
0
2,033
thread by: Ken Fettig | last post Jul 17 '05 by: Ken Fettig
Hello, can anyone tell me if there is a maximum size for a String Object or a char. I get am getting a bounds error converting a large CLOB object. Can anyone help?? Thanks Ken kfettig@state.nd.us
0
3,173
thread by: chandra | last post Jul 17 '05 by: chandra
Hi, Line numbers are not displaying using below option <javac srcdir="${java.source.dir}" destdir="${build.dir}" debug="on" debuglevel="lines"> <classpath refid="compile.classpath"/> </javac> My ant version is 1.5.1
5
8,300
thread by: Laura | last post Jul 17 '05 by: Neomorph
Hello, Newbie question: Does anyone know how to dynamically set the screen width in an applet? I have an applet that creates a horizontal bar menu on a webpage, and I would like the width to be 100%. Unfortunately, this doesn't work with Explorer. so, in my html page, I wrote a function like this: <SCRIPT LANGUAGE="JavaScript"> int...
1
6,024
thread by: Joe | last post Jul 17 '05 by: Phil
I am writing a java application that needs to keep track of what percentage of the disk it uses. It has to run on the various flavors of UNIX and Windows. Problem 1: Is there a Java API class that would allow the application to know the total capacity of a particular disk? Problem 2: Is there a Java API class that would allow the...
0
1,656
thread by: Matt Shaw | last post Jul 17 '05 by: Matt Shaw
I have just installed the latest JDK 1.4.2. When I run any of our applets I get the error below in the console window. Can't find bundle for base name sun.awt.windows.awtLocalization, locale en_GB I have tried this on other machines and get the same error. Has anybody got any idea what's causing it and how to fix it ?
0
1,382
thread by: Rajeev | last post Jul 17 '05 by: Rajeev
Hi , I am new to using java swing , i need help To create a tagger so that i once open a text file in teh editor i have created using Java Swing i can Tag any word in the text file by selecting that word, change color of the word when i tag it
0
3,020
thread by: Offer | last post Jul 17 '05 by: Offer
Hi, I create a TCP connection between client & server and I need to send vectors via ObjectInputStreams back and forth (the client initiates the protocol). The connection is established successfully, the client sends its first request and the server responds accordingly, the client receives the response and tries to send another request (the...

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.