Java and Flickr - Help with Inheritance between Main Class and sub-cla - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Java and Flickr - Help with Inheritance between Main Class and sub-cla

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:

[B]testUserInterface [/B]=> to build all components for interface.

Link to view my code of testUserInterface

[QUOTE][highlight][URL=https://www.dropbox.com/s/jq4g4pe32fkr3og/testUserInterface.java]https://www.dropbox.com/s/jq4g4pe32fkr3og/testUserInterface.java[/URL] [/highlight][/QUOTE]

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

Link to view my code of testSearch

[QUOTE][URL=https://www.dropbox.com/s/0vz2k9fcuo2kh2y/testSearch.java]https://www.dropbox.com/s/0vz2k9fcuo2kh2y/testSearch.java[/URL] [/QUOTE]

[B]PhotoFinder[/B] => get connection to Flickr.

Link to view my code of PhotoFinder

[QUOTE][URL=https://www.dropbox.com/s/715u81j3yvpjeqv/PhotoFinder.java]https://www.dropbox.com/s/715u81j3yvpjeqv/PhotoFinder.java[/URL] [/QUOTE]

[B]PhotoPanel[/B] => displays photos on this panel.

Link to view my code of PhotoPanel

[QUOTE][URL=https://www.dropbox.com/s/tc9l7nwx5snw0go/PhotoPanel.java]https://www.dropbox.com/s/tc9l7nwx5snw0go/PhotoPanel.java[/URL] [/QUOTE]

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

[IMG]http://imageshack.us/a/img69/2668/searchin.jpg[/IMG]

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.

[IMG]http://img213.imageshack.us/img213/5816/subcs.jpg[/IMG]

Please help me out with the problem, it drives me crazy (TT)
Sign In or Register to comment.