Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
2526faff
Commit
2526faff
authored
Nov 04, 2005
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Component repaint() used to redraw
parent
744d702d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
4 deletions
+24
-4
java/jpwr/jop/src/GeDynAnalogShift.java
java/jpwr/jop/src/GeDynAnalogShift.java
+7
-1
java/jpwr/jop/src/GeDynDigShift.java
java/jpwr/jop/src/GeDynDigShift.java
+5
-1
src/jpwr/jop/src/GeDynAnalogShift.java
src/jpwr/jop/src/GeDynAnalogShift.java
+7
-1
src/jpwr/jop/src/GeDynDigShift.java
src/jpwr/jop/src/GeDynDigShift.java
+5
-1
No files found.
java/jpwr/jop/src/GeDynAnalogShift.java
View file @
2526faff
/*
* Proview $Id: GeDynAnalogShift.java,v 1.
3 2005-11-02 14:02:18
claes Exp $
* Proview $Id: GeDynAnalogShift.java,v 1.
4 2005-11-04 11:40:46
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -19,6 +19,8 @@
package
jpwr.jop
;
import
jpwr.rt.*
;
import
java.awt.*
;
import
javax.swing.*
;
public
class
GeDynAnalogShift
extends
GeDynElem
{
String
attribute
;
...
...
@@ -82,6 +84,10 @@ public class GeDynAnalogShift extends GeDynElem {
break
;
}
}
if
(
dyn
.
repaintNow
)
{
((
JComponent
)
dyn
.
comp
).
repaint
();
dyn
.
repaintNow
=
false
;
}
if
(
firstScan
)
firstScan
=
false
;
}
...
...
java/jpwr/jop/src/GeDynDigShift.java
View file @
2526faff
/*
* Proview $Id: GeDynDigShift.java,v 1.
2 2005-09-01 14:57:50
claes Exp $
* Proview $Id: GeDynDigShift.java,v 1.
3 2005-11-04 11:41:13
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -19,6 +19,8 @@
package
jpwr.jop
;
import
jpwr.rt.*
;
import
java.awt.*
;
import
javax.swing.*
;
public
class
GeDynDigShift
extends
GeDynElem
{
String
attribute
;
...
...
@@ -75,6 +77,8 @@ public class GeDynDigShift extends GeDynElem {
dyn
.
comp
.
setFirstPage
();
dyn
.
repaintNow
=
true
;
}
if
(
dyn
.
repaintNow
)
// Test
((
JComponent
)
dyn
.
comp
).
repaint
();
oldValue
=
value0
;
}
}
...
...
src/jpwr/jop/src/GeDynAnalogShift.java
View file @
2526faff
/*
* Proview $Id: GeDynAnalogShift.java,v 1.
3 2005-11-02 14:02:18
claes Exp $
* Proview $Id: GeDynAnalogShift.java,v 1.
4 2005-11-04 11:40:46
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -19,6 +19,8 @@
package
jpwr.jop
;
import
jpwr.rt.*
;
import
java.awt.*
;
import
javax.swing.*
;
public
class
GeDynAnalogShift
extends
GeDynElem
{
String
attribute
;
...
...
@@ -82,6 +84,10 @@ public class GeDynAnalogShift extends GeDynElem {
break
;
}
}
if
(
dyn
.
repaintNow
)
{
((
JComponent
)
dyn
.
comp
).
repaint
();
dyn
.
repaintNow
=
false
;
}
if
(
firstScan
)
firstScan
=
false
;
}
...
...
src/jpwr/jop/src/GeDynDigShift.java
View file @
2526faff
/*
* Proview $Id: GeDynDigShift.java,v 1.
2 2005-09-01 14:57:50
claes Exp $
* Proview $Id: GeDynDigShift.java,v 1.
3 2005-11-04 11:41:13
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -19,6 +19,8 @@
package
jpwr.jop
;
import
jpwr.rt.*
;
import
java.awt.*
;
import
javax.swing.*
;
public
class
GeDynDigShift
extends
GeDynElem
{
String
attribute
;
...
...
@@ -75,6 +77,8 @@ public class GeDynDigShift extends GeDynElem {
dyn
.
comp
.
setFirstPage
();
dyn
.
repaintNow
=
true
;
}
if
(
dyn
.
repaintNow
)
// Test
((
JComponent
)
dyn
.
comp
).
repaint
();
oldValue
=
value0
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment