Results 1 to 9 of 9
  1. #1
    Join Date
    May 2012
    Posts
    5
    Rep Power
    0

    Question Java and Flickr - Help with Inheritance between Main Class and sub-class

    Dear all,

    I have been doing a small program which can help user search general photos by keywords and can retrieve most recent general uploads from Flickr.

    I created 4 classes:

    testUserInterface => to build all components for interface.

    Link to view my code of testUserInterface

    testSearch => inherits interface from testUserInterface and build event action when user clicks on button start and button exit.

    Link to view my code of testSearch

    PhotoFinder => get connection to Flickr.

    Link to view my code of PhotoFinder

    PhotoPanel => displays photos on this panel.

    Link to view my code of PhotoPanel

    When I select sub-menu "Search Photos" from class testUserInterface, a search panel is displayed with textfield and 2 buttons, start and exit.



    However, a problem occurs when I clicks start button (after entering a specific keyword).
    all photos which relates to the keyword is not shown.
    and I got problem with sub-menu instead in line 180.



    Please help me out with the problem, it drives me crazy (TT)

  2. #2
    Join Date
    May 2012
    Posts
    5
    Rep Power
    0

    Question Java and Flickr - Help with Inheritance between Main Class and sub-class

    Dear all,

    I have been doing a small program which can help user search general photos by keywords and can retrieve most recent general uploads from Flickr.

    I created 4 classes:

    testUserInterface => to build all components for interface.

    Link to view my code of testUserInterface

    testSearch => inherits interface from testUserInterface and build event action when user clicks on button start and button exit.

    Link to view my code of testSearch

    PhotoFinder => get connection to Flickr.

    Link to view my code of PhotoFinder

    PhotoPanel => displays photos on this panel.

    Link to view my code of PhotoPanel

    When I select sub-menu "Search Photos" from class testUserInterface, a search panel is displayed with textfield and 2 buttons, start and exit.



    However, a problem occurs when I clicks start button (after entering a specific keyword).
    all photos which relates to the keyword is not shown.
    and I got problem with sub-menu instead in line 180.



    Please help me out with the problem, it drives me crazy (TT)
    Last edited by thientanchuong; 12-13-2012 at 02:57 AM.

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,305
    Rep Power
    20

    Default Re: Java and Flickr - Help with Inheritance between Main Class and sub-class

    Please go through the Forum Rules -- particularly the second paragraph. I've merged the thread you started in New to Java. Please don't double post again.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,305
    Rep Power
    20

    Default Re: Java and Flickr - Help with Inheritance between Main Class and sub-class

    First off, most members here, self included, won't click external links to view code. For some who might, sites like dropbox are blocked by a corporate firewall. To get better help sooner, post the code on the forum, preferably in the form of a SSCCE (Short, Self Contained, Correct (Compilable), Example) that demonstrates any problem you have.

    Have you been copying code without understanding it? if you're going to cast an ActionEvent's source to JMenuItem, you shouldn't be adding that ActionListener to a JButton.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  5. #5
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,305
    Rep Power
    20

    Default Re: Java and Flickr - Help with Inheritance between Main Class and sub-class

    Last edited by DarrylBurke; 12-13-2012 at 04:13 PM.
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  6. #6
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,642
    Rep Power
    7

    Default Re: Java and Flickr - Help with Inheritance between Main Class and sub-class


  7. #7
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,518
    Rep Power
    25

    Default Re: Java and Flickr - Help with Inheritance between Main Class and sub-class

    If you don't understand my response, don't ignore it, ask a question.

  8. #8
    Join Date
    May 2012
    Posts
    5
    Rep Power
    0

    Default Re: Java and Flickr - Help with Inheritance between Main Class and sub-class

    Sorry, did not notice about Be Forthright When Cross Posting To Other Sites ,

    I thought all website run individually and much faster If I post the same question in different 4rum.

    Sorry in advance

  9. #9
    Join Date
    May 2012
    Posts
    5
    Rep Power
    0

    Default Re: Java and Flickr - Help with Inheritance between Main Class and sub-class

    as it is crossing post, Could admin delete this topic for me please ?

Similar Threads

  1. Replies: 1
    Last Post: 11-29-2012, 09:46 AM
  2. Replies: 7
    Last Post: 06-18-2012, 09:31 PM
  3. Java Class Inheritance Problem
    By Batman in forum New To Java
    Replies: 2
    Last Post: 09-12-2011, 12:01 AM
  4. Running main method class from another main class
    By tlrocketman in forum New To Java
    Replies: 3
    Last Post: 12-06-2010, 08:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •