git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some update/refresh fixes
[fanfix.git]
/
src
/
be
/
nikiroo
/
fanfix_swing
/
gui
/
book
/
BookLine.java
diff --git
a/src/be/nikiroo/fanfix_swing/gui/book/BookLine.java
b/src/be/nikiroo/fanfix_swing/gui/book/BookLine.java
index 6437f613459ad895cf37e648630cded4d99fde87..b4c6be41c7123786a9d33bfbd9bb1bfa150a8a19 100644
(file)
--- a/
src/be/nikiroo/fanfix_swing/gui/book/BookLine.java
+++ b/
src/be/nikiroo/fanfix_swing/gui/book/BookLine.java
@@
-2,6
+2,7
@@
package be.nikiroo.fanfix_swing.gui.book;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.BorderLayout;
import java.awt.Color;
+import java.awt.Dimension;
import java.awt.Graphics;
import javax.swing.JLabel;
import java.awt.Graphics;
import javax.swing.JLabel;
@@
-51,10
+52,13
@@
public class BookLine extends JPanel {
* Initialise this {@link BookLine}.
*/
protected void init() {
* Initialise this {@link BookLine}.
*/
protected void init() {
- // TODO: image
+ // TODO: image
?
iconCached = new JLabel(" ");
iconNotCached = new JLabel(" * ");
iconCached = new JLabel(" ");
iconNotCached = new JLabel(" * ");
+ iconNotCached.setForeground(BookCoverImager.UNCACHED_ICON_COLOR);
+ iconCached.setPreferredSize(iconNotCached.getPreferredSize());
+
title = new JLabel();
secondary = new JLabel();
secondary.setForeground(AUTHOR_COLOR);
title = new JLabel();
secondary = new JLabel();
secondary.setForeground(AUTHOR_COLOR);
@@
-154,7
+158,7
@@
public class BookLine extends JPanel {
String main = info.getMainInfo();
String optSecondary = info.getSecondaryInfo(seeWordCount);
String main = info.getMainInfo();
String optSecondary = info.getSecondaryInfo(seeWordCount);
- //TODO: max size limit?
+ //
TODO: max size limit?
title.setText(main);
secondary.setText(optSecondary + " ");
title.setText(main);
secondary.setText(optSecondary + " ");