Author: jleroux
Date: Sun Jan 27 02:39:49 2008
New Revision: 615570
URL:
http://svn.apache.org/viewvc?rev=615570&view=revLog:
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) {