Skip to content

Commit

Permalink
Updated Retweet button
Browse files Browse the repository at this point in the history
  • Loading branch information
chern committed Jul 8, 2016
1 parent 1e26361 commit 1f181be
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 3 deletions.
Binary file modified MainFrame$1FavoriteListener.class
Binary file not shown.
Binary file modified MainFrame$1RetweetListener.class
Binary file not shown.
Binary file modified MainFrame$1TweetButtonListener.class
Binary file not shown.
Binary file modified MainFrame$1UserLabelListener.class
Binary file not shown.
Binary file modified MainFrame.class
Binary file not shown.
3 changes: 2 additions & 1 deletion MainFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ public class MainFrame
private JLabel profileTweet3;
private JLabel profileTweet4;
private JPanel rightPanel;

public MainFrame () {
// initialization of instance field variables
favoritePic = createImageIcon("heart_button_default.png"); // invoke createImageIcon method (defined below) to assign ImageIcon object reference from the path
Expand Down Expand Up @@ -129,7 +130,7 @@ public MainFrame () {
url = new URL(u);//gets the url for the user's profile pic
}
catch (MalformedURLException mu){}

overallPanel = new JPanel(new BorderLayout());

currentUserAccountImage.setIcon(new ImageIcon(url));//invokes setIcon with new image icon from the url
Expand Down
4 changes: 2 additions & 2 deletions package.bluej
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ objectbench.height=76
objectbench.width=706
package.editor.height=370
package.editor.width=598
package.editor.x=74
package.editor.y=49
package.editor.x=39
package.editor.y=34
package.numDependencies=2
package.numTargets=3
package.showExtends=true
Expand Down
Binary file modified retweet_button_default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified retweet_button_hover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1f181be

Please sign in to comment.