|
From: <de...@us...> - 2013-01-21 10:50:32
|
Revision: 8232
http://fudaa.svn.sourceforge.net/fudaa/?rev=8232&view=rev
Author: deniger
Date: 2013-01-21 10:50:25 +0000 (Mon, 21 Jan 2013)
Log Message:
-----------
Modified Paths:
--------------
trunk/framework/ctulu-fu/src/main/java/com/memoire/fu/FuLog.java
trunk/framework/fudaa-dico/ui/src/main/java/org/fudaa/fudaa/fdico/FDicoEntitePanel.java
trunk/framework/fudaa-dico/ui/src/main/java/org/fudaa/fudaa/fdico/FDicoEntiteTableModel.java
trunk/framework/fudaa-dico/ui/src/main/java/org/fudaa/fudaa/fdico/FDicoFiltreController.java
Modified: trunk/framework/ctulu-fu/src/main/java/com/memoire/fu/FuLog.java
===================================================================
--- trunk/framework/ctulu-fu/src/main/java/com/memoire/fu/FuLog.java 2013-01-21 10:03:36 UTC (rev 8231)
+++ trunk/framework/ctulu-fu/src/main/java/com/memoire/fu/FuLog.java 2013-01-21 10:50:25 UTC (rev 8232)
@@ -251,7 +251,7 @@
boolean header = (r.msg_ != null) && (r.msg_.length() >= 4) && (r.msg_.charAt(3) == ':');
- StringBuffer sb = new StringBuffer(256);
+ StringBuilder sb = new StringBuilder(256);
sb.append(header ? r.msg_.substring(0, 4) : "???:");
sb.append(' ');
@@ -349,7 +349,6 @@
}
}
- System.err.println(sb.toString());
if (LOGSTREAM != null) {
LOGSTREAM.println(sb.toString());
}
Modified: trunk/framework/fudaa-dico/ui/src/main/java/org/fudaa/fudaa/fdico/FDicoEntitePanel.java
===================================================================
--- trunk/framework/fudaa-dico/ui/src/main/java/org/fudaa/fudaa/fdico/FDicoEntitePanel.java 2013-01-21 10:03:36 UTC (rev 8231)
+++ trunk/framework/fudaa-dico/ui/src/main/java/org/fudaa/fudaa/fdico/FDicoEntitePanel.java 2013-01-21 10:50:25 UTC (rev 8232)
@@ -1,9 +1,9 @@
/**
- * @creation 13 mai 2003
- * @modification $Date: 2007-06-28 09:28:19 $
- * @license GNU General Public License 2
- * @copyright (c)1998-2001 CETMEF 2 bd Gambetta F-60231 Compiegne
- * @mail fud...@li...
+ * @creation 13 mai 2003
+ * @modification $Date: 2007-06-28 09:28:19 $
+ * @license GNU General Public License 2
+ * @copyright (c)1998-2001 CETMEF 2 bd Gambetta F-60231 Compiegne
+ * @mail fud...@li...
*/
package org.fudaa.fudaa.fdico;
@@ -59,16 +59,34 @@
* @version $Id: FDicoEntitePanel.java,v 1.32 2007-06-28 09:28:19 deniger Exp $
*/
public class FDicoEntitePanel extends BuSplit2Pane implements ActionListener, CtuluUndoRedoInterface,
- CtuluPopupListener.PopupReceiver {
+ CtuluPopupListener.PopupReceiver {
+
+ public FDicoFiltreController updateFilters() {
+ FDicoFiltreController old = tableModel_.getFiltreController();
+ final FDicoFiltreController filtre = new FDicoFiltreController();
+ findFiltre_ = new FDicoFiltreChooserName();
+ filtre.add(findFiltre_);
+ filtre.add(new FDicoFiltreChooserModified(tableModel_.getParams()));
+ if (filtreNiveau) {
+ filtre.add(new FDIcoFiltreChooserMode());
+ }
+ filtre.add(new FDicoFiltreChooserRubrique(tableModel_.getParams()));
+ if (old != null) {
+ filtre.setTargetPanel(old.getTargetPanel());
+ }
+ tableModel_.setFiltreController(filtre);
+ return filtre;
+ }
/**
* @author Fred Deniger
* @version $Id: FDicoEntitePanel.java,v 1.32 2007-06-28 09:28:19 deniger Exp $
*/
class DecoratorCellRenderer implements CtuluCellDecorator {
-
- public void decore(final JComponent _cmp, final JList _list, final Object _value, final int _index) {}
-
+
+ public void decore(final JComponent _cmp, final JList _list, final Object _value, final int _index) {
+ }
+
public void decore(final JComponent _cmp, final JTable _table, final Object _value, final int _row, final int _col) {
final boolean b = tableModel_.isValide(_row);
final DicoEntite e = tableModel_.getEntite(_row);
@@ -82,22 +100,23 @@
} else {
_cmp.setForeground(Color.black);
}
-
+
final FDicoTableColumnIdentifier id = (FDicoTableColumnIdentifier) _table.getColumnModel().getColumn(_col)
- .getIdentifier();
-
+ .getIdentifier();
+
if ((id != FDicoTableColumnIdentifier.COLUMN_VALEUR) && (tableModel_.getParams().getComment(e) != null)
- && (_cmp instanceof JLabel)) {
+ && (_cmp instanceof JLabel)) {
final String txt = ((JLabel) _cmp).getText();
((JLabel) _cmp).setText("<html><u>" + txt + "</u></html>");
}
}
}
-
+
final class DecoratorModifiedCellRenderer implements CtuluCellDecorator {
-
- public void decore(final JComponent _cmp, final JList _list, final Object _value, final int _index) {}
-
+
+ public void decore(final JComponent _cmp, final JList _list, final Object _value, final int _index) {
+ }
+
public void decore(final JComponent _cmpc, final JTable _table, final Object _value, final int _row, final int _col) {
final DicoEntite e = tableModel_.getEntite(_row);
if (tableModel_.getParams().isValueSetFor(e)) {
@@ -107,9 +126,9 @@
}
}
}
-
+
class DecoratorValueCellRenderer extends DecoratorCellRenderer {
-
+
public void decore(final JComponent _cmp, final JTable _table, final Object _value, final int _row, final int _col) {
super.decore(_cmp, _table, _value, _row, _col);
final DicoEntite e = tableModel_.getEntite(_row);
@@ -124,41 +143,35 @@
}
}
}
-
+
private class PanelInfo extends BuTabbedPane implements DicoParamsListener, FDicoEntiteTableModel.CommentForwader {
-
+
JButton btComportAffichage_;
-
JButton btEditer_;
-
JButton btInitialiser_;
-
JLabel lbNom_;
-
BuTextArea txtAreaHelp_;
-
BuTextArea txtComment_;
-
JLabel txtDefault_;
-
JLabel txtError_;
-
JLabel txtRubrique_;
-
JLabel txtValue_;
-
- public void dicoParamsVersionChanged(final DicoParams _cas) {}
-
+
+ @Override
+ public void dicoParamsVersionChanged(final DicoParams _cas) {
+ updateFilters();
+ }
+
PanelInfo(final boolean _comment, final boolean _keywordLie) {
init(_comment, _keywordLie);
}
-
+
public void dicoParamsEntiteCommentUpdated(final DicoParams _cas, final DicoEntite _ent) {
if (_ent == lastEntiteSelected_) {
refreshValue();
}
}
-
+
private void clearComportButton() {
if (btComportAffichage_ != null) {
btComportAffichage_.setForeground(Color.black);
@@ -166,7 +179,7 @@
btComportAffichage_.setText(FDicoLib.getS("aucun"));
}
}
-
+
private void init(final boolean _comment, final boolean _kwTied) {
final BuPanel main = new BuPanel();
main.setLayout(new BuBorderLayout(3, 3, true, true));
@@ -205,7 +218,7 @@
clearComportButton();
pnLabels.add(btComportAffichage_);
}
-
+
main.add(pnLabels, BuBorderLayout.CENTER);
final JPanel pnButtons = new BuPanel();
pnButtons.setLayout(new BuVerticalLayout());
@@ -234,7 +247,6 @@
return;
}
txtComment_ = new BuTextArea() {
-
protected void processFocusEvent(final FocusEvent _evt) {
if (_evt.getID() == FocusEvent.FOCUS_LOST) {
saveCurrentComment();
@@ -249,9 +261,8 @@
*/
txtComment_.setEditable(false);
txtComment_.setToolTipText(FDicoLib
- .getS("Pour \xE9diter le commentaire, double-cliquer sur le mot-cl\xE9 ou sur cette zone"));
+ .getS("Pour \xE9diter le commentaire, double-cliquer sur le mot-cl\xE9 ou sur cette zone"));
txtComment_.addMouseListener(new MouseAdapter() {
-
public void mouseClicked(final MouseEvent _e) {
if (_e.getClickCount() == 2 && lastEntiteSelected_ != null) {
showHelpComment(lastEntiteSelected_);
@@ -260,7 +271,7 @@
});
final BuPanel pn = new BuPanel();
pn.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10), BorderFactory
- .createEtchedBorder()));
+ .createEtchedBorder()));
pn.setLayout(new BuBorderLayout(2, 2, true, true));
js = new BuScrollPane(txtComment_);
js.setPreferredWidth(100);
@@ -299,7 +310,7 @@
clearComportButton();
}
}
-
+
void clearPanel() {
lbNom_.setText(CtuluLibString.EMPTY_STRING);
txtAreaHelp_.setText(CtuluLibString.EMPTY_STRING);
@@ -316,29 +327,31 @@
}
clearComportButton();
}
-
+
public void dicoParamsEntiteAdded(final DicoParams _cas, final DicoEntite _ent) {
if (_ent == lastEntiteSelected_) {
refreshValue();
}
}
-
+
public void dicoParamsEntiteRemoved(final DicoParams _cas, final DicoEntite _ent, final String _oldValue) {
if (_ent == lastEntiteSelected_) {
refreshValue();
}
}
-
+
public void dicoParamsEntiteUpdated(final DicoParams _cas, final DicoEntite _ent, final String _oldValue) {
if (_ent == lastEntiteSelected_) {
refreshValue();
}
}
-
- public void dicoParamsProjectModifyStateChanged(final DicoParams _cas) {}
-
- public void dicoParamsStateLoadedEntiteChanged(final DicoParams _cas, final DicoEntite _ent) {}
-
+
+ public void dicoParamsProjectModifyStateChanged(final DicoParams _cas) {
+ }
+
+ public void dicoParamsStateLoadedEntiteChanged(final DicoParams _cas, final DicoEntite _ent) {
+ }
+
public void dicoParamsValidStateEntiteUpdated(final DicoParams _cas, final DicoEntite _ent) {
if (_ent == lastEntiteSelected_) {
refreshValue();
@@ -375,37 +388,26 @@
txtAreaHelp_.setCaretPosition(0);
txtRubrique_.setText(lastEntiteSelected_.getRubrique());
txtDefault_.setText(lastEntiteSelected_.getDefautValue());
-
+
}
}
-
+
public final void saveCurrentComment() {
if ((txtComment_ != null) && (lastEntiteSelected_ != null)) {
tableModel_.setCommentaire(lastEntiteSelected_, txtComment_.getText());
}
}
}
-
EbliActionSimple actionDefaultSelected_;
-
EbliActionSimple actionEditerSelected_;
-
FDicoTableColumnIdentifier.ColumnManager colMng_;
-
FDicoTableColumnIdentifier.ColumnModelWithoutException colModel_;
-
FDicoFiltreChooserName findFiltre_;
-
DicoEntite lastEntiteSelected_;
-
PanelInfo pnInfos_;
-
BuPanel pnTable_;
-
JTable table_;
-
FDicoEntiteTableModel tableModel_;
-
JTextField txtFind_;
/**
@@ -419,17 +421,17 @@
* @param _model le model pour les mot-cles
*/
public FDicoEntitePanel(final FDicoEntiteTableModel _model, final boolean _comment, final boolean _kwTied,
- final boolean _filtreNiveau) {
+ final boolean _filtreNiveau) {
this(_model, null, _comment, _kwTied, _filtreNiveau);
}
-
+
public FDicoEntitePanel(final FDicoEntiteTableModel _model, final Component _leftUp) {
this(_model, _leftUp, true, true, true);
}
/**
* Permet d'editer le commentaire et d'afficher l'aide du mot-cle passe en parametres.
- *
+ *
* @param _entite le mot-cle concerne
*/
protected void showHelpComment(final DicoEntite _entite) {
@@ -465,48 +467,48 @@
pn.setLayout(new BuBorderLayout());
pn.add(pane, BuBorderLayout.CENTER);
if (CtuluDialogPanel.isOkResponse(pn.afficheModale(CtuluLibSwing.getFrameAncestorHelper(this), _entite.getNom()))
- && (txtComment != null) && txtComment.isEditable()) {
+ && (txtComment != null) && txtComment.isEditable()) {
tableModel_.setCommentaire(lastEntiteSelected_, txtComment.getText());
}
}
+ private boolean filtreNiveau;
/**
* @param _model le model pour les mot-cles
* @param _leftUp un composant qui sera ajoute en haut a gauche (si non null)
*/
public FDicoEntitePanel(final FDicoEntiteTableModel _model, final Component _leftUp, final boolean _comment,
- final boolean _keywordLie, final boolean _fitreNiveau) {
+ final boolean _keywordLie, final boolean _fitreNiveau) {
+ this.filtreNiveau = _fitreNiveau;
tableModel_ = _model;
final TableCellRenderer valueRenderer = FDicoTableRendererChooser.createCellRendererChooser(tableModel_,
- new DecoratorValueCellRenderer());
+ new DecoratorValueCellRenderer());
final TableCellEditor valueEditor = FDicoTableEditorChooser.createCellEditorChooser(tableModel_);
final CtuluCellRenderer defaultRenderer = new CtuluCellTextRenderer(new DecoratorCellRenderer());
final CtuluCellButtonEditor nomEditor = new CtuluCellButtonEditor(null) {
-
public Component getTableCellEditorComponent(final JTable _table, final Object _value, final boolean _isSelected,
- final int _row, final int _column) {
+ final int _row, final int _column) {
final Component c = super.getTableCellEditorComponent(_table, _value, _isSelected, _row, _column);
super.value_ = tableModel_.getEntite(_row);
return c;
}
-
+
protected void doAction() {
showHelpComment((DicoEntite) super.value_);
}
};
nomEditor.setDoubleClick(true);
colMng_ = new FDicoTableColumnIdentifier.ColumnManager(defaultRenderer, new CtuluCellTextRenderer(
- new DecoratorModifiedCellRenderer()), valueRenderer, valueEditor, nomEditor);
+ new DecoratorModifiedCellRenderer()), valueRenderer, valueEditor, nomEditor);
colModel_ = colMng_.createColModel();
table_ = new JTable(tableModel_, colModel_) {
-
public String getToolTipText(final MouseEvent _event) {
final java.awt.Point p = _event.getPoint();
final int rowIndex = rowAtPoint(p);
final int colIndex = convertColumnIndexToModel(columnAtPoint(p));
return tableModel_.getTooltip(rowIndex, colIndex);
}
-
+
public void tableChanged(final TableModelEvent _evt) {
if (getCellEditor() != null) {
getCellEditor().cancelCellEditing();
@@ -527,7 +529,6 @@
CtuluPopupListener l = new CtuluPopupListener(this, table_);
// table_.addMouseListener(l);
final ListSelectionModel tableSelectionModel = new DefaultListSelectionModel() {
-
public void fireValueChanged(final int _f, final int _l, final boolean _isAdjusting) {
super.fireValueChanged(_f, _l, _isAdjusting);
if ((!_isAdjusting)) {
@@ -536,15 +537,14 @@
}
};
actionEditerSelected_ = new EbliActionSimple(BuResource.BU.getString("Editer"), BuResource.BU.getIcon("editer"),
- "EDIT") {
-
+ "EDIT") {
public void actionPerformed(final ActionEvent _ae) {
if (lastEntiteSelected_ == null) {
return;
}
final int i = tableModel_.getEntiteRow(lastEntiteSelected_);
if (i >= 0
- && table_.editCellAt(i, table_.getColumnModel().getColumnIndex(FDicoTableColumnIdentifier.COLUMN_VALEUR))) {
+ && table_.editCellAt(i, table_.getColumnModel().getColumnIndex(FDicoTableColumnIdentifier.COLUMN_VALEUR))) {
final Component c = table_.getEditorComponent();
c.requestFocus();
if (c instanceof AbstractButton) {
@@ -554,8 +554,7 @@
}
};
actionDefaultSelected_ = new EbliActionSimple(FudaaLib.getS("Initialiser"), BuResource.BU.getIcon("enlever"),
- "DELETE") {
-
+ "DELETE") {
public void actionPerformed(final ActionEvent _ae) {
if ((table_.isEditing()) && (table_.getCellEditor() != null)) {
table_.getCellEditor().stopCellEditing();
@@ -587,19 +586,11 @@
table_.setSelectionModel(tableSelectionModel);
tableModel_.setTableSelectionModel(tableSelectionModel);
final FDicoTableSortIndicator sortIndicator = new FDicoTableSortIndicator(table_, BuResource.BU
- .getIcon("bu_menu_down"), BuResource.BU.getIcon("bu_menu_up"));
+ .getIcon("bu_menu_down"), BuResource.BU.getIcon("bu_menu_up"));
sortIndicator.getSortDescription().setColumnSorted(
- colModel_.findColumnWithIdentifierFast(FDicoTableColumnIdentifier.COLUMN_NOM));
+ colModel_.findColumnWithIdentifierFast(FDicoTableColumnIdentifier.COLUMN_NOM));
table_.getTableHeader().addMouseListener(l);
- final FDicoFiltreController filtre = new FDicoFiltreController();
- findFiltre_ = new FDicoFiltreChooserName();
- filtre.add(findFiltre_);
- filtre.add(new FDicoFiltreChooserModified(_model.getParams()));
- if (_fitreNiveau) {
- filtre.add(new FDIcoFiltreChooserMode());
- }
- filtre.add(new FDicoFiltreChooserRubrique(_model.getParams()));
- tableModel_.setFiltreController(filtre);
+ FDicoFiltreController filtre = updateFilters();
tableModel_.setSortIndicator(sortIndicator);
tableModel_.show();
pnTable_ = new BuPanel();
@@ -621,8 +612,8 @@
if (_leftUp != null) {
left.add(_leftUp);
}
- filtre.buildPanel(left);
- // JPanel pn= filtre.buildPanel();
+ filtre.setTargetPanel(left);
+ // JPanel pn= filtre.setTargetPanel();
left.setPreferredSize(new Dimension(150, 500));
setLeftComponent(left);
setOneTouchExpandable(true);
@@ -643,14 +634,14 @@
setPreferredSize(new Dimension(400, 450));
resetToPreferredSizes();
}
-
+
protected void saveLastModification() {
if (table_.getCellEditor() != null) {
table_.getCellEditor().stopCellEditing();
}
pnInfos_.saveCurrentComment();
}
-
+
protected void saveView() {
for (final Iterator it = FDicoTableColumnIdentifier.IDENTIFIERS.iterator(); it.hasNext();) {
final FDicoTableColumnIdentifier colId = (FDicoTableColumnIdentifier) it.next();
@@ -663,7 +654,7 @@
}
}
}
-
+
void refreshSelectionEntite() {
final ListSelectionModel select = table_.getSelectionModel();
final int lead = select.getLeadSelectionIndex();
@@ -687,7 +678,7 @@
}
}
}
-
+
public void popup(MouseEvent _evt) {
// create the popupmenu
final CtuluPopupMenu menu = new CtuluPopupMenu();
@@ -714,7 +705,7 @@
}
menu.show(_evt.getComponent(), _evt.getX(), _evt.getY());
}
-
+
public void actionPerformed(final ActionEvent _evt) {
// mis en place d'un filtre temporaire.
if ((pnInfos_ != null) && (_evt.getSource() == pnInfos_.btComportAffichage_)) {
@@ -746,7 +737,7 @@
}
}
}
-
+
public void activeFind() {
if (txtFind_ == null) {
final JComponent leftCp = getLeftComponent();
@@ -769,17 +760,17 @@
txtFind_.requestFocus();
}
}
-
+
public void clearCmd(final CtuluCommandManager _source) {
if (tableModel_.getCmdMng() != _source) {
tableModel_.getCmdMng().clean();
}
}
-
+
public CtuluCommandManager getCmdMng() {
return tableModel_.getCmdMng();
}
-
+
public JTable getTable() {
return table_;
}
@@ -802,7 +793,7 @@
table_.setColumnSelectionInterval(i, i);
}
}
-
+
public void setTxtAreaHelpVisible(boolean _b) {
if (_b && (pnInfos_ == null)) {
pnInfos_ = new PanelInfo(true, true);
@@ -814,4 +805,4 @@
pnInfos_ = null;
}
}
-}
\ No newline at end of file
+}
Modified: trunk/framework/fudaa-dico/ui/src/main/java/org/fudaa/fudaa/fdico/FDicoEntiteTableModel.java
===================================================================
--- trunk/framework/fudaa-dico/ui/src/main/java/org/fudaa/fudaa/fdico/FDicoEntiteTableModel.java 2013-01-21 10:03:36 UTC (rev 8231)
+++ trunk/framework/fudaa-dico/ui/src/main/java/org/fudaa/fudaa/fdico/FDicoEntiteTableModel.java 2013-01-21 10:50:25 UTC (rev 8232)
@@ -64,6 +64,12 @@
commentForwarder_ = _f;
}
+ public FDicoFiltreController getFiltreController() {
+ return filtreController_;
+ }
+
+
+
public void setFiltreController(final FDicoFiltreController _c) {
if (filtreController_ != null) {
filtreController_.setListener(null);
@@ -79,9 +85,6 @@
return projet_.getDicoParams().getInvalidMessage(_e);
}
- public FDicoFiltreController getFiltreController() {
- return filtreController_;
- }
public void setTableSelectionModel(final ListSelectionModel _listSelection) {
listSelection_ = _listSelection;
Modified: trunk/framework/fudaa-dico/ui/src/main/java/org/fudaa/fudaa/fdico/FDicoFiltreController.java
===================================================================
--- trunk/framework/fudaa-dico/ui/src/main/java/org/fudaa/fudaa/fdico/FDicoFiltreController.java 2013-01-21 10:03:36 UTC (rev 8231)
+++ trunk/framework/fudaa-dico/ui/src/main/java/org/fudaa/fudaa/fdico/FDicoFiltreController.java 2013-01-21 10:50:25 UTC (rev 8232)
@@ -25,6 +25,7 @@
import javax.swing.ListCellRenderer;
import com.memoire.bu.BuVerticalLayout;
+import javax.swing.JComponent;
import org.fudaa.ctulu.gui.CtuluCellTextRenderer;
@@ -35,13 +36,16 @@
* @version $Id: FDicoFiltreController.java,v 1.12 2007-05-04 13:59:04 deniger Exp $
*/
public class FDicoFiltreController implements Observer, FDicoFiltre, ActionListener {
+
/**
* @author fred deniger
* @version $Id: FDicoFiltreController.java,v 1.12 2007-05-04 13:59:04 deniger Exp $
*/
- static final class FiltreCellRenderer extends CtuluCellTextRenderer {
+ static final class FiltreCellRenderer extends CtuluCellTextRenderer {
+
+ @Override
public Component getListCellRendererComponent(JList _list, Object _value, int _index, boolean _isSelected,
- boolean _cellHasFocus) {
+ boolean _cellHasFocus) {
super.getListCellRendererComponent(_list, _value, _index, _isSelected, _cellHasFocus);
setToolTipText((String) _value);
return this;
@@ -49,6 +53,7 @@
}
public interface FiltreControllerListener {
+
void controllerChanged();
void controllerMoreRestrictive(FDicoFiltre _f);
@@ -102,13 +107,27 @@
}
}
}
+ private JPanel targetPanel;
- public void buildPanel(final JPanel _p) {
+ public JPanel getTargetPanel() {
+ return targetPanel;
+ }
+
+ public void setTargetPanel(final JPanel _p) {
+ this.targetPanel = _p;
final ListCellRenderer renderer = new FiltreCellRenderer();
final Font f = new Font("SansSerif", Font.PLAIN, 10);
+ Component[] components = _p.getComponents();
+ for (Component component : components) {
+ if (Boolean.TRUE.equals(((JComponent) component).getClientProperty("IS_FILTER"))) {
+ _p.remove(component);
+ }
+ }
for (final Iterator it = filtreChoosers_.iterator(); it.hasNext();) {
final FDicoFiltreChooserAbstract filtre = (FDicoFiltreChooserAbstract) it.next();
- _p.add(filtre.buildPanel(f, renderer));
+ final JPanel buildPanel = filtre.buildPanel(f, renderer);
+ buildPanel.putClientProperty("IS_FILTER", Boolean.TRUE);
+ _p.add(buildPanel);
}
}
@@ -116,7 +135,7 @@
public JPanel buildPanel() {
final JPanel r = new JPanel();
r.setLayout(new BuVerticalLayout(5, true, false));
- buildPanel(r);
+ setTargetPanel(r);
return r;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|