Home > Java Help

Java Help

Java Help forum discussing all Java platforms - J2ME, J2SE and J2EE - as well as relevant standards, APIs and frameworks such as Swing, Servlets, JSPs, Applets, Struts, Spring, Hibernate, ANT, EJB, and other Java-related topics.
Ask Question About Java Help
How mrshal Resultset which return from database (oracle),i got error
the exception isjava.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableE xception: sun.jdbc.odbc.JdbcOdbcResultSet Please give me full det...
answer(0)  view(3)  status(wait for best answer)
deploy a project
Hi guys, I have made a web application using JSP,Struts,JDBC. I used Netbeans as IDE. What I want to know is how do I deploy my project on a real server?? In Netbeans ,it used Sun Java Application Server 9. Thanx in advance!!!
answer(0)  view(8)  status(wait for best answer)
System.getenv for portability
I'm making a panel program in Java(with Swing) that's XML based for entries in a user's own unique configuration files. The panels obviously would need a configuration file somewhere, so I want to store it in their home directory. This is ...
answer(3)  view(371)  status(wait for best answer)
SetStyle(org.apache.axis.enum.Style) in org.apache.axis.description.OperationDesc can
I am working with some code that I built using WSDL2Java. When I build the project, I get the following errors: Error:Error:line (33)setStyle(org.apache.axis.enum.Style) in org.apache.axis.description.OperationDesc cannot be applied t...
answer(2)  view(957)  status(wait for best answer)
Javascript - stop clicking button twice
Hi I have an oscommerce site, but I need some help. I have a problem with customers clicking the confirm order button twice, which then duplicates there order. I have put in big letters PLEASE CLICK THIS BUTTON ONCE but that doesnt w...
answer(6)  view(1,021)  status(wait for best answer)
Submitting an HTML form with Java
Hello, I'm trying to submit a form in the simplest way possible. So far I've come across this bit of code: import java.net.*; import java.io.*; public class FormTest { public static void main(String[] args) { try { In...
answer(1)  view(15)  status(wait for best answer)
how to make a jtextfield unchangeable
I have a JDesktopPane, with a TextField on it. I want to make it so that the user can not edit the content of the text field. I'm assuming that there is a simple function for this but when I scanned the java developers pages I didn't see it...
answer(2)  view(1,028)  status(wait for best answer)
Best way to store dates in a record store
I need to store a date in a record store. Currently I am converting date to string, and then to a byte array using getBytes(). I can get the byte array back into a string with: String aString = new String(byte array); which gives the date in the ...
answer(0)  view(21)  status(wait for best answer)
Swing BoxLayout & Combobox Prob.
Having taken a few weeks off from learning Swing, I've decided to learn a bit about Layout managers, specifically the BoxLayout manager. I've written a demonstration application that creates a 'table' of panels and places components in t...
answer(8)  view(783)  status(wait for best answer)
Quartz Job Scheduler behaviour in a clustered server environment
Hi all, I have 2 websphere servers in a clustered server environment running a web application which uses Quartz job scheduler in performing batch processing. The quartz scheduler is supposed to trigger the batch job pr...
answer(3)  view(394)  status(wait for best answer)
wanna to knw how to fill color and select color line in paint appilcation using java?
i ve create d buttons like circle,polygon,ellipse,rectangle. while click the button it should draw d circle,poly and etc.. upto tis i did.. after tat i create d button select line color and select fill color wit combobox.. bt dunno hw to create con...
answer(0)  view(18)  status(wait for best answer)
PLEASE HELP!!!! HOW TO WRITE The "Magic Square" Program????????????
AP Computer Science I Extra Credit Assignment The "Magic Square" Program 80 & 100 Point Versions Assignment Purpose: It is time to do some serious two-dimensional array manipulation. The purpose of this program is to ma...
answer(4)  view(1,171)  status(wait for best answer)
DigiChat Error
Hi: I am currently running my Windows XP Pro computer, which uses Apache, PHP, and MySQL, so I have my own IP address out on the internet. I did this so on my site, http://www.coopercentral.org, I can include DigiChat on it, so peopl...
answer(4)  view(764)  status(wait for best answer)
How to develop a crossword puzzle in J2me?
Hi I am a complete beginner in programming, but I am interested in learning how to develop mobile crossword puzzles. Can anyone please assist by providing me with a simple j2me source code for this, and I can learn from there...thanx.
answer(0)  view(62)  status(wait for best answer)
[Homework] Char.parseChar error
I have been getting a Code: Lab3.java:32: cannot resolve symbol symbol : variable Char location: class Lab3 char ch1 = Char.parseChar (st.nextToken()); ^ my full code is: Code: ...
answer(3)  view(1,550)  status(wait for best answer)
How to make JScrollPane transparent?
Hi! I have this mysterious problem. I want to apply background to my frame. When I apply the background it works fine, but when I create a JTextArea with JScrollPane and do the setOpaque(false) on both the background is gone. I've also tri...
answer(4)  view(1,556)  status(wait for best answer)
Disabling All Components on a JFrame or JDialog
Greetings - I have a standard swing JFrame/JDialog which i want to disable/enable all the buttons and textfields on the fly disabling the main panels doesn't work - the buttons and textfields are still active if i do jPanel.setEnable...
answer(1)  view(846)  status(wait for best answer)
Cannot find symbol error....need help
I'm getting this error message: cannot find symbol symbol : method showMessageDialog(<nulltype>,java.lang.String,int) location: class javax.swing.JOptionPane JOptionPane.showMessageDialog(null, "Your ending mileage"+ endMi...
answer(0)  view(19)  status(wait for best answer)
Java Comm API on Linux can't find javax.comm.properties
I'm trying to set up the Java Communications API on Linux using the comm API from Sun (not rxtx), and I can't seem to get it to find my javax.comm.properties file. I've put comm.jar in $JDK_HOME/jre/lib/ext and the properties file in $JDK_...
answer(2)  view(1,244)  status(wait for best answer)
Cannot Find Symbol Error using JOptionPane.showMessageDialog...
The past few times I got this error it was basically something I typed incorrectly that was causing the error. I have looked and looked at these two bits of code but I am unable to find what is wrong. Error 1: F:\ClassAverageAJP.java:19...
answer(5)  view(1,112)  status(have the best answer)
JSP equivalent to ASP.NET User Control?
Hello, I am fairly new to JSP development and I am trying to find out if there is a JSP equivalent to the ASP.NET user control (http://msdn2.microsoft.com/en-us/library/fb3w5b53.aspx) Can anybody answer this for me? Thank you!
answer(4)  view(1,429)  status(have the best answer)
I need help making this into a java page file
Project… Name that Celebrity Create a new project called NameThatCelebrity in which only partially recognizable names of celebrities are to be produced. In a real implementation of this game, the idea is for a contestant to be able to gues...
answer(0)  view(22)  status(wait for best answer)
to pass arrays as parameters to methods and how to make methods return arrays.
• getMarks – this method gets the marks from the user, places them in a local array and returns that array to main; • findSmallest – this method returns the smallest value in an array, the array will be passed as a paramet...
answer(0)  view(61)  status(wait for best answer)
Changing SWT Group Border Color/Option on mouseover or click?
Hi: I was wondering, how, or if it is even possible, to have a SWT Group to get "highlighted" (making the border stand out from the rest) as the pointer either hover overs it or clicks on it. I'm fairly new to the ActionListene...
answer(11)  view(1,466)  status(wait for best answer)
Define tag cannot set a null value
Hi, Basically i have no idea with this error. I got this Code: <Servlet.service() for servlet jsp threw exception> javax.servlet.jsp.JspException: Define tag cannot set a null value at org.apache.struts.taglib...
answer(2)  view(961)  status(have the best answer)
MMTP implementation in Java
Hi I'm asked to develop an application for a stock exchange company using MMTP (Market Message Transfer Protocol) to retrieve data from the DIFF (Diffusion server) and pass orders to the trading engine. MMTP is a proprietary protocol...
answer(6)  view(984)  status(wait for best answer)
Question Regarding Class Loading Error.
Project "GetData" loaded Project settings saved Building "GetData" Error preverifying class kxml-min.org.kxml.Attribute Class loading error: Wrong name Build failed please help me to get it right. If anyone knows it ...
answer(0)  view(48)  status(wait for best answer)
JServ Error 500
JServ Error 500 java.lang.AbstractMethodError: null
answer(0)  view(40)  status(wait for best answer)
JServ Error 500
JServ Error 500 java.lang.AbstractMethodError: null
answer(0)  view(29)  status(wait for best answer)
i am trying to parse the values from xml file. while building it goes while i am trying to run the application, it shows Java.Lang.NullPointerException ?
I am providing the simple parsing example code? can any one please help me out in removing the error. please mail me the solution at sridharamkette@gmail.com. reply awaited. import java.io.*; import org.kxml.*; import org.kxml.parser.*; ...
answer(0)  view(38)  status(wait for best answer)
 
Home - About Infoqu - Contact - Privacy Statement - Link to Infoqu - Bookmark Infoqu

Copyright 2007-2010 by Infoqu. All rights reserved