Results 1 to 9 of 9
- 12-13-2012, 02:11 AM #1
Member
- Join Date
- May 2012
- Posts
- 5
- Rep Power
- 0
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)
- 12-13-2012, 02:12 AM #2
Member
- Join Date
- May 2012
- Posts
- 5
- Rep Power
- 0
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.
- 12-13-2012, 04:00 AM #3
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.
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 12-13-2012, 04:04 AM #4
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.
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 12-13-2012, 04:11 PM #5
Re: Java and Flickr - Help with Inheritance between Main Class and sub-class
Last edited by DarrylBurke; 12-13-2012 at 04:13 PM.
Why do they call it rush hour when nothing moves? - Robin Williams
- 12-13-2012, 06:49 PM #6
Moderator
- Join Date
- Jul 2010
- Location
- California
- Posts
- 1,619
- Rep Power
- 5
Re: Java and Flickr - Help with Inheritance between Main Class and sub-class
- 12-13-2012, 06:52 PM #7
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.
- 12-14-2012, 03:59 AM #8
Member
- Join Date
- May 2012
- Posts
- 5
- Rep Power
- 0
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
- 12-14-2012, 02:01 PM #9
Member
- Join Date
- May 2012
- Posts
- 5
- Rep Power
- 0
Similar Threads
-
could not find or load main class | cannot manually locate class file
By Holden Caulfield in forum New To JavaReplies: 1Last Post: 11-29-2012, 09:46 AM -
Accessing an array from a class and passing to another class through main()
By coderz in forum New To JavaReplies: 7Last Post: 06-18-2012, 09:31 PM -
Java Class Inheritance Problem
By Batman in forum New To JavaReplies: 2Last Post: 09-12-2011, 12:01 AM -
Running main method class from another main class
By tlrocketman in forum New To JavaReplies: 3Last Post: 12-06-2010, 08:30 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks