projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Did some clean up
[Mograsim.git]
/
era.mi
/
src
/
era
/
mi
/
logic
/
tests
/
GUITest.java
diff --git
a/era.mi/src/era/mi/logic/tests/GUITest.java
b/era.mi/src/era/mi/logic/tests/GUITest.java
index
9db2df6
..
36a4886
100644
(file)
--- a/
era.mi/src/era/mi/logic/tests/GUITest.java
+++ b/
era.mi/src/era/mi/logic/tests/GUITest.java
@@
-170,7
+170,7
@@
public class GUITest extends JPanel
g.setFont(g.getFont().deriveFont(Math.min(height, width) / 40f));
}
g.setFont(g.getFont().deriveFont(Math.min(height, width) / 40f));
}
- private void drawString(Graphics g, String s, int x, int y, double anchorX, double anchorY)
+ private
static
void drawString(Graphics g, String s, int x, int y, double anchorX, double anchorY)
{
int h = g.getFontMetrics().getAscent();
int w = g.getFontMetrics().stringWidth(s);
{
int h = g.getFontMetrics().getAscent();
int w = g.getFontMetrics().stringWidth(s);