[java ee programming] BookStore Examples

2009-09-24 Thread Dhwani Patel
Hello all, I dont know how you feel after going through 5 types of bookstore implementation. I really feel so nervous. How can i design and implement this way by thinking it myself ?? Any one else felt like that or is it only me ? Can any1 tell me the ways/suggestions to come out of this and bein

[java ee programming] Re: JMenu

2009-09-24 Thread John Morgan
I think I messed up my response from the other day. You can do this they way Victor is talking about. Or you can use the setActionCommand () method available to most buttons in Swing as follows. I've used both in practice. import javax.swing.JFrame; import javax.swing.JMenu; import javax.swing.JM

[java ee programming] Re: JMenu

2009-09-24 Thread javaquestion
Appreciated, It helps me a lot. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroup

[java ee programming] j2ee - Servlet Advanced homework problem

2009-09-24 Thread Giulio Bellezza
Servlet Advanced Add another event handler Java source file called MyOwnEventListener that implements Http Session Attribute Listener. Modify GreetingServlet.java to add an attribute to the HttpSession.Modify ResponseServlet.java to remove the attribute from the HttpSession.For these i've no p

[java ee programming] Re: JMenu

2009-09-24 Thread Victor Lutin
Ok, let's see ... 1. add ActionListener to your menuitem. 2. when MenuItem fire the event, you can compare what MenuItem was clicked if(a.getSource() == item1) { // MenuItem 1 has an action event. : } 3. You can call a method into that IF, and you can make a new window with all

Re: R: [java ee programming] Chapter 4: Java Serv;et Technology Duke's Bookstore setup

2009-09-24 Thread TJ
Thank you Filomena Leone, you are too kind. I did have the password and userid working properly at one point. I will revisit and try again. Does anyone out there have all the steps they took to install IDE 6.7.1 and setup the bookstore1 project? I have chased so many rabbits that I have lost my

[java ee programming] Re: Trying to get a child calss to call a function in its parent class

2009-09-24 Thread ravi
You try this . > package pacTestLib; > > public class clTestLib { >         public static void main(String[] arg) >         { >                 System.out.println("hello world"); >                 Callpar() >         } >         public CallPar() >         { >      

[java ee programming] Re: JMenu

2009-09-24 Thread javaquestion
On Sep 24, 1:04 am, Victor Lutin wrote: > Mmmh ... You can add an ActionListener directly to MenuItem, You don't need > to use a JButton for that. > > Check Java Doc: > > http://java.sun.com/j2se/1.4.2/docs/api/java/awt/MenuItem.html > > This works in 1.4+ :) ... > > Your class most implements

[java ee programming] Re: JSP 2.0 Custom Tags - Homework required?

2009-09-24 Thread stefan.brunig
hi all, if you check from http://www.javapassion.com/j2ee you can see there's no need to submit a homework on this topic because of the missing date: "Note that only the topics with the dates assigned will be covered in this course. (You need to submit homeworks only on the topics that have dates

[java ee programming] Chapter 4: Java Serv;et Technology Duke's Bookstore setup

2009-09-24 Thread TJ
I need help. I have been trying for a week to complete the first Duke's Bookstore example in Chapter 4 of the Java EE 5 Tutorial. I know that I do not have something setup correctly with the software install or the database connection. I just can't seem to figure out exactly where the problem lie

[java ee programming] Re: JSP 2.0 Custom Tags - Homework required?

2009-09-24 Thread Chavarría Teruel, Rubén
The example JSPExamples that comes with samples in Netbeans 6.1 contains almost the same JSPs, TAGs, etc that TomcatJSPExample used in "JSP 2.0 Custom Tags" lesson. At least, I was able to follow the exercises and do the homework. Good luck, De: java-ee-

[java ee programming] Re: Using JDBC -- Lab 1020

2009-09-24 Thread manne
Don't use Resolve ... from the context menu. Just add derbyclient.jar as described in exercise 1.2. Then go to project's properties and remove this JAVADB_DRIVER_LABEL from the library tab. --~--~-~--~~~---~--~~ You received this message because you are subscribed

[java ee programming] Error in URL Connection Method

2009-09-24 Thread jitesh dundas
Dear Friends, I am thankful to all of you for your help in my problems in coding.. I am stuck in this error and would appreciate if someone could help me in this:- Here , I am trying to post a request to google spell check feature and then obtaining the XML file with results. However, I am gett