Search:

Type: Posts; User: hiepa

Search: Search took 2.94 seconds.

  1. Replies
    7
    Views
    427

    Re: Problem netbeans gui button event handling

    Well what I actually wanted to do is have a List that show all the book that are available, but also, when we add a book , the list should be updated so we wee all the books. Well this is the best I...
  2. Replies
    7
    Views
    427

    Re: Problem netbeans gui button event handling

    Noone?
  3. Replies
    7
    Views
    427

    Re: Problem netbeans gui button event handling

    Here is the code of my Jframe:


    package gui;
    import java.io.IOException;
    import javax.swing.ImageIcon;
    import javax.swing.JOptionPane;
    import javax.swing.JScrollPane;
    import...
  4. Replies
    7
    Views
    427

    Problem netbeans gui button event handling

    Hey guys, so my problem is that I created a new Jframe in netbeans, and I added a Jlist and a jButton, the list is supposed to display some books ( I also have a class Book created), so the button I...
  5. Thread: Switch

    by hiepa
    Replies
    10
    Views
    173

    Re: Switch

    No problem, thx anyways!

    --- Update ---

    Please can you help with this ?


    public static void main(String[] args) {
    Scanner input=new Scanner(System.in);
    Member member1=new...
  6. Thread: Switch

    by hiepa
    Replies
    10
    Views
    173

    Re: Switch

    When i copy your code, I get an error in the line of println("1- etc....)
    Well I am running out of time, I have to submit it in 1h so I will just do something... don't get everything is fine and...
  7. Thread: Switch

    by hiepa
    Replies
    10
    Views
    173

    Re: Switch

    Tried it but nothing, I don't understand, everything is fine but there is a problem, It should'nt have a relation with the other classes no ?
  8. Thread: Switch

    by hiepa
    Replies
    10
    Views
    173

    Re: Switch

    package amazonapplication;
    import java.util.Scanner;
    /**
    *
    * @author
    */
    public class AmazonApplication {
  9. Thread: Switch

    by hiepa
    Replies
    10
    Views
    173

    Re: Switch

    No I removed it but it still does not output anything for 1 etc except for 6
    here is the code:


    public static void main(String[] args) {
    Scanner input=new Scanner(System.in);
    ...
  10. Thread: Switch

    by hiepa
    Replies
    10
    Views
    173

    Switch

    hello, I have a problem with my code, I wrote a switch condition, and I just wanted to test it for the first case, but when I type 1, there is not output while I put one in my case 1 code. Also when...
  11. Re: problem with an assignement: creating collections class and use them

    No answer ?
  12. problem with an assignement: creating collections class and use them

    Well, in my java project , I need to create using netbeans a program similar to the Amazon website, well I post you the link so you can see all of it, it can help you: (c) CJoint.com, 2012

    Well I...
  13. Re: Some help with an assignment based on crc cards

    Well submitted the assignement unfinished, I will try to finish it.
    I have another question, suppose we have two classes, an Event class and a User class, how can we show the association between...
  14. Re: Some help with an assignment based on crc cards

    For the forgotpass() behavior , yout told me before that I should not put scanner or ask the user, so how can he enter the new password he wants to have ?

    I tought about this
    public void...
  15. Re: Some help with an assignment based on crc cards

    Ok, can you help concerning the authenticate and forgotpass methods please ? I have only few hours left to finish and I still have lot to do :/
  16. Re: Some help with an assignment based on crc cards

    Yeah but normally when we want to change or password, we are always asked what is our new one etc.., so there should be an interaction with the user no? he is the one who chooses his password after...
  17. Re: Some help with an assignment based on crc cards

    Well as their names say they should change the pass fot the changepass() and for authenticate, check weither the password and the username are correct, for the forgotpass(), we have to let the user...
  18. Re: Some help with an assignment based on crc cards

    Well I am sorry if you considered it as disrespect, here is the text:

    Your attachments should have the following format:
    <StudentName>_hwk<Number>.zip or rar
    Homework submitted by email will be...
  19. Re: Some help with an assignment based on crc cards

    Actually there is an array, that can't be posted as text, the link doesnt work?
  20. Re: Some help with an assignment based on crc cards

    Well I am giving the full assignement so that you can better understand the problem
    http://cjoint.com/?BJgoTevrNuv
  21. Re: Some help with an assignment based on crc cards

    Hey Curmudgeon, so far I made the code for the main class inside AmazonApplication class
    1456
    But now that i am creating my other classes and trying to implment them, for example, for the class...
  22. Re: Some help with an assignment based on crc cards

    Ok I am starting my code now, and If I don't know how to do smthing, I will let you know ok ?
  23. Some help with an assignment based on crc cards

    Hi I need to make a program to implement classes for the amazon website with crc cards provided. I have to implement the basic classes for the website(Book, Profile, Member, RecallItem, BookItem,...
Results 1 to 23 of 23