Applet to Servlet I m trying to send data from applet to servlet in this way ObjectOutputStream outputToServer = new ObjectOutputStream(servletConnection.getOutputStream()); outputToServer.writeObject(user); outputToServer.flush(); outputToServer.close(); I expect data goes to doPost method of the servlet. But when I execute ... 15 Feb 2010 15:27
Adding JPanel to JFrame Hi Every one, I am new at java swing and I am trying to add a Jpanel to my frame. I have three simple class as below 1-Class MyPanel 2-Class MyFrame 3-Class Main I did my best to add the panel to my frame but it did not work! Could you please let me know what I am doing wrong!? //===================== 1. ... 17 Feb 2010 02:12
How do i know which superclass to inherit from... public class Beeper extends JPanel implements ActionListener {} that is a snippet from a code from an excercise give in the book "Sams teach...." my problem is, how do i know whether to give <extends JPanel> or <extends JFrame>? both extenstions are used in the book. thank you very much for your help. ... 17 Feb 2010 16:44
JFreeChart - Legend control with adding different series Hello. I am working with JFreeChart (1.0.13) and wish to modify the manner the legend displays entries for the multiple XY time series. I want to display 2 series on the graph with one entry into the legend. The example is grouping a Max and a Min series which gives a graph above and below an Avg series. As such... 15 Feb 2010 10:55
Newbie question: Signing a Java applet Hi all, The TL;DR version of below: Where can I buy a certificate suitable for signing a Java applet? Help!! The long version: I have a question regarding signing a Java applet. I've spent a lot of time researching this, and have only encountered contradictory information, bad links, and outdated documentat... 17 Feb 2010 03:23
When is software good enough? (was Re: Motivation of software professionals) Oh boy, that reply of mine stirred things up a bit. Nevertheless I'm going to stick my head over the parapet again! Excuse me not replying to someone in particular. The context was where I suggested that the guys who wrote code with the Y2k bug may have been justified. I've been surprised by how many of y... 14 Feb 2010 15:09
Correct use of "nee" markspace wrote: I've never had a good experience with Sam's books. Take a look at the Java tutorial from Sun (nee Oracle) and their example, which is a bit different in how it sets stuff up. <http://java.sun.com/docs/books/tutorial/uiswing/layout/card.html> <http://java.sun.com/docs/books/tut... 21 Feb 2010 09:15
Problem with interface implementation hi all, im following an excercise from the book "Sams teach yourself java in 21 days" i typed the exercise exactly as in the book but i get an error. below are the error and the full code of the program. thank you very much for your help. error: Caused by: java.lang.RuntimeException: Uncompilable source code -... 14 Feb 2010 15:08
What does volatile guarantee? Originally I thought volatile just suppressed caching a value in a register, so that other threads going to RAM would see the latest value. IIRC at least in some early JVM, you could not count on 64-bit loads and stores being atomic. But on reading the JLS, it seems to guarantee even more. It says all threads... 18 Feb 2010 15:05
Java - GUI - Date time input box Hello. Just a quick question. Where can I find a good library class that performs the operation of allowing me to easily input a date and time on a GUI (with other swing components)? I expected to find this in the swing / Java native presentation; java version "1.6.0_14" Java(TM) SE Runtime Environment (build ... 12 Feb 2010 23:32 |