I'm getting a strange error that is very hard to find an answer to.It happens like every couple times not always so it makes it very hard to understand what may be the problem.
Error: The p...
Dear Experts,
Our project is on Java/J2EE. we need to implement image cropping functionality in our project.Can anybody suggest the solution for the image cropping which is compatible with ...
Hi,
Check the below image for my problem. I installed java from the site. After installation also i'm getting the same error. Please solve my problem.
Thanks
What is the significance of public static void main()?
public:it can be accessible anywhere
static:it has single instance
void does not return any value
args:you can pass arguments to th...
Hi there.
I have an Java Applet that runs in a browser.
It essentially acts as a SOCKS proxy server and tunnels a single connection through a HTTP proxy server (if one is present) to an ex...
hi guys
I have two lists
CustomerList1 : contains 1,2,3,4,5 (of type int)
CustomerList2 : contains 2,3,4 (of type int)
Is there a method which will give me the common elements be...
I am having a problem with java encryption in DES algorithm , I write the following code which generate
following values:
-49-1199-10-626612247-49-1199-10-626612247 (this is encrypted value)...
Hi All,
I am working on my editable table derived from JTable. I want to validate the users input in a JTextFiled editor. If the value is invalid, I want to keep the editor on focus and al...
Can anybody tell me where i can find java implemetation of RTF to HTML and vice-versa.
i need help getting the right code for an array with objects. the attached file is the file that the program is going to read from i created a states class can you please give me feedback on i...
Hi Guru,
I enclose the coding.
i throwing me the error i want to append the from the BuyerLineItemNun.size() pls help me to change the coding as soon as possible pls expert.
for (int i...
Hello there,
i know how to use png,gifs,jpeg as icon in my java application.but i want to know how can i use .ico images in my swing application. first of all does java support ico.
chee...
Hello,
I'm still fairly new to Java and trying to figure out how to paint an image on on Jpanel while other Jpanels contain components(JButtons and JComboBox) to trigger events. I've gotte...
Hey guys,
Background to this question is that i am designing a Java GUI for an existing application. This app has a Command Line Interface which access the main program - so you login through...
I am developing an application in Java with Eclipse. I have the program working and running. I also have the report designs all done and I am able to preview and run them in BIRT. What my q...
Hi All,
Can you give me a real world example of polymorphism ?
Thanks
I am using HTTPClient for file upload.
The first time it is giving an exception like this
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Sou...
** Tomcat JSF App Timeout ---------------HTTP Status 500 -----javax.servlet.ServletException: viewId:/welcome.jsf - View /welcome.jsf could not be restored.
Hi Guys,
I have a JSF app ru...
Hi Experts,
We have a ASPNET web application and now we have a new request: the client wants to communicate with their USB device using our application. They plug the device into their PCs, o...
hi,
I have a problem like this.
In one method, I declare
ArrayList <String> a = new ArrayList <String>;
a = method1(); // m...
I have a bufferedReader doubt. In my code, I have to loop through a bufferedReader in order to process some calculation. After this bufferedReader has reached the end, I will need to re-read...
Hi,
I've got old but working authentication code below, and I'd like to add it into a new login mechanism below it. OR recreate the user authentication in the new login mechanism
<code>
...
I am using NetBeans6.1, JSF1.2, JDK1.6 and glassfish v2ur2. Our application used RichFaces3.2.0 and we are trying to update to RichFaces3.2.2 for the updated functionality for the rich:datascr...
This should be easy, but I cannot find the doc. Basically, I want to implement a COBOL ZZZZ9 picture clause for numeric output with NumberFormat. What I need is a method to change the leadin...
Hello Experts,
Please advice me on this one. I have a fairly big object that is populated on the client side, with input from a <form>. We want to transmit it over the network to be receive...