import java.awt.BorderLayout;
import java.awt.Dimension;
-import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ComponentAdapter;
}
if (!node.getChildren().isEmpty()) {
- // TODO (see things with icons included in viewer)
+ // TODO allow an image or ">", viewer
down = new JToggleButton(">");
final JPopupMenu popup = new JPopupMenu();
if (vertical) {
this.setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
} else {
- this.setLayout(new FlowLayout(FlowLayout.LEADING));
+ this.setLayout(new WrapLayout(WrapLayout.LEADING));
}
for (BreadCrumb crumb : crumbs) {