mirror of
				https://github.com/lov3b/Schack.git
				synced 2025-10-31 13:20:21 +01:00 
			
		
		
		
	Update Board.java
This commit is contained in:
		| @@ -150,7 +150,7 @@ public class Board extends JPanel implements MouseListener { | |||||||
|                         if (weCanMove) { |                         if (weCanMove) { | ||||||
|                             JOptionPane.showMessageDialog(this, "Du står i schack"); |                             JOptionPane.showMessageDialog(this, "Du står i schack"); | ||||||
|                         } else { |                         } else { | ||||||
|                             validMovesToDraw = new ArrayList<>(); |                             validMovesToDraw.clear(); | ||||||
|                             getParent().repaint(); |                             getParent().repaint(); | ||||||
|                             int choise = JOptionPane.showConfirmDialog(this, "Schackmatt\nVill du starta om?"); |                             int choise = JOptionPane.showConfirmDialog(this, "Schackmatt\nVill du starta om?"); | ||||||
|                             if (choise == JOptionPane.YES_OPTION) { |                             if (choise == JOptionPane.YES_OPTION) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 lov3b
					lov3b