You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2008/01/27 11:39:50 UTC
svn commit: r615570 -
/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/component/Journal.java
Author: jleroux
Date: Sun Jan 27 02:39:49 2008
New Revision: 615570
URL: http://svn.apache.org/viewvc?rev=615570&view=rev
Log:
Minor changes without effects
Modified:
ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/component/Journal.java
Modified: ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/component/Journal.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/component/Journal.java?rev=615570&r1=615569&r2=615570&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/component/Journal.java (original)
+++ ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/component/Journal.java Sun Jan 27 02:39:49 2008
@@ -52,17 +52,16 @@
public Journal(PosScreen page) {
this.jpanel = (XScrollPane) page.findComponent("journal_panel");
this.jpanel.setVisible(false);
- this.jpanel.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED);
- this.jpanel.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED);
this.jtable = (XTable) page.findComponent("jtable");
// set the table as selectable
jtable.setInteractiveTable(true);
jtable.setFocusable(false);
- jtable.setDragEnabled(false);
- jtable.setColumnSelectionAllowed(false);
+ jtable.setDragEnabled(false);
+ jtable.setColumnSelectionAllowed(false);
jtable.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
+
// set the styles
jtable.setBorderStyle("journalBorder");
@@ -115,9 +114,6 @@
jtable.setVisible(!lock);
jtable.setEnabled(!lock);
this.jpanel.setVisible(!lock);
- if (!lock) {
- this.jpanel.setVisible(true);
- }
}
public synchronized void refresh(PosScreen pos) {