Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import javax.swing.*;
- public class PunktTest{
- public void main(String[] args) {
- double x = Double.parseDouble(JOptionPane.showInputDialog(null,"a"));
- double y = Double.parseDouble(JOptionPane.showInputDialog(null,"a"));
- Punkt p = new Punkt(x, y);
- double a = Double.parseDouble(JOptionPane.showInputDialog(null,"a"));
- double b = Double.parseDouble(JOptionPane.showInputDialog(null,"a"));
- JOptionPane.showMessageDialog(null, "Przesuniecie" + przesunięcie(a,b));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment