package de.gymnew.sudoku.gui;

import java.awt.Graphics;

import javax.swing.JPanel;

import de.gymnew.sudoku.model.Sudoku;

@SuppressWarnings("serial")
public class SudokuPanel extends JPanel {

	private static final int FIELD_SIZE = 10;
	private static final int NUMBER_SIZE = 8;
	
	private static final int BLOCK_SEPARATOR_WIDTH = 3;
	
	private static final int OFFSET_LEFT = 10;
	private static final int OFFSET_TOP = 10;
	
	private Sudoku sudoku;
	private int selectX, selectY;
	
	public SudokuPanel() {
		
	}
	
	@Override
	protected void paintComponent(Graphics g) {
		if(sudoku == null) return;
		
		
	}

	public Sudoku getSudoku() {
		return sudoku;
	}

	public void setSudoku(Sudoku sudoku) {
		this.sudoku = sudoku;
	}
	
	public void setSelection(int x, int y) {
		selectX = x;
		selectY = y;
	}

}

@@ -191,22 +191,21 @@
 el %7B%0A%0A%09p
-rivate
+ublic
  static 
@@ -225,38 +225,37 @@
 LD_SIZE = 10;%0A%09p
-rivate
+ublic
  static final in
@@ -273,30 +273,29 @@
 ZE = 8;%0A%09%0A%09p
-rivate
+ublic
  static fina
@@ -331,22 +331,21 @@
  3;%0A%09%0A%09p
-rivate
+ublic
  static 
@@ -365,12 +365,12 @@
 SET_
-LEFT
+SIDE
  = 1
@@ -374,22 +374,63 @@
 = 10;%0A%09p
-rivate
+ublic static final int OFFSET_TOP = 10;%0A%09public
  static 
@@ -438,35 +438,38 @@
 inal int OFFSET_
+BOT
 TO
-P
+M
  = 10;%0A%09%0A%09privat

Make GUI-constants public