Bugfix attempt #6: improved visibility of paintComponent from protected to public

This commit is contained in:
Doublestrike
2012-02-13 23:58:24 +00:00
parent 53322ac2b9
commit f8b7d002c7
3 changed files with 2 additions and 5 deletions

View File

@@ -148,9 +148,6 @@ public final class FControl {
default:
}
Singletons.getView().validate();
Singletons.getView().repaint();
}
/** Gets the match controller.

View File

@@ -346,7 +346,7 @@ public class ViewMatchUI extends FPanel {
* Graphics object
*/
@Override
protected void paintComponent(final Graphics g) {
public void paintComponent(final Graphics g) {
h = getHeight();
w = getWidth();

View File

@@ -188,7 +188,7 @@ public class FPanel extends JPanel {
* @see javax.swing.JComponent#paintComponent(java.awt.Graphics)
*/
@Override
protected void paintComponent(final Graphics graphics0) {
public void paintComponent(final Graphics graphics0) {
super.paintComponent(graphics0);
pnlW = this.getWidth();