file_id
stringlengths
5
10
content
stringlengths
57
33.1k
repo
stringlengths
8
77
path
stringlengths
6
174
token_length
int64
19
8.19k
original_comment
stringlengths
7
10.6k
comment_type
stringclasses
2 values
detected_lang
stringclasses
1 value
prompt
stringlengths
21
33.1k
8502_2
import java.util.List; import java.util.Map; import java.util.Set; /** * Interfejs eksperymentatora, który będzie przeprowadzać doświadczenia z * zakresu prawdopodobieństwa. W eksperymentach używana będzie kostka. Kostka do * gry może działać w sposób niestandardowy i szanse na wyrzucenie określonej * liczby oczek...
j-markiewicz/java
J2/src/Eksperymentator.java
1,437
/** * Ustalenie całkowitego czasu trwania eksperymentu w milisekundach. * Prawdopodobieństwa mają być szacowane przez eksperymentatora jako iloraz * liczby prób zakończonych sukcesem do liczby wszystkich prób. Na wykonanie * wszystkich prób eksperymentator ma czasEksperymentu. W okresie * czasEksperymentu nal...
block_comment
pl
import java.util.List; import java.util.Map; import java.util.Set; /** * Interfejs eksperymentatora, który będzie przeprowadzać doświadczenia z * zakresu prawdopodobieństwa. W eksperymentach używana będzie kostka. Kostka do * gry może działać w sposób niestandardowy i szanse na wyrzucenie określonej * liczby oczek...
8502_3
import java.util.List; import java.util.Map; import java.util.Set; /** * Interfejs eksperymentatora, który będzie przeprowadzać doświadczenia z * zakresu prawdopodobieństwa. W eksperymentach używana będzie kostka. Kostka do * gry może działać w sposób niestandardowy i szanse na wyrzucenie określonej * liczby oczek...
j-markiewicz/java
J2/src/Eksperymentator.java
1,437
/** * Metoda zwraca prawdopodobieństwo wyrzucenia określonej, sumarycznej liczby * oczek przy rzucie pewną liczbaKostek. W tym eksperymencie przez * czasEksperymentu rzucamy liczbaKostek. Metoda stara się oszacować szansę na * wyrzucenie określonej sumy oczek, zliczamy więc wylosowane liczby oczek. * Znając l...
block_comment
pl
import java.util.List; import java.util.Map; import java.util.Set; /** * Interfejs eksperymentatora, który będzie przeprowadzać doświadczenia z * zakresu prawdopodobieństwa. W eksperymentach używana będzie kostka. Kostka do * gry może działać w sposób niestandardowy i szanse na wyrzucenie określonej * liczby oczek...
8502_4
import java.util.List; import java.util.Map; import java.util.Set; /** * Interfejs eksperymentatora, który będzie przeprowadzać doświadczenia z * zakresu prawdopodobieństwa. W eksperymentach używana będzie kostka. Kostka do * gry może działać w sposób niestandardowy i szanse na wyrzucenie określonej * liczby oczek...
j-markiewicz/java
J2/src/Eksperymentator.java
1,437
/** * Metoda sprawdza szansę na wyrzucenie określonej sekwencji oczek. Zadaną * sekwencją może być np. 1, 2 i 4. Jeśli w kolejnych rzutach kostką otrzymamy * przykładowo: * * <pre> * 1 2 5 * 3 4 1 &lt;- w tej i kolejnej linijce mamy łącznie 1 2 i 4, ale tu nie zliczamy trafienia * 2 4 1 * <b>1 2 4</...
block_comment
pl
import java.util.List; import java.util.Map; import java.util.Set; /** * Interfejs eksperymentatora, który będzie przeprowadzać doświadczenia z * zakresu prawdopodobieństwa. W eksperymentach używana będzie kostka. Kostka do * gry może działać w sposób niestandardowy i szanse na wyrzucenie określonej * liczby oczek...
8502_5
import java.util.List; import java.util.Map; import java.util.Set; /** * Interfejs eksperymentatora, który będzie przeprowadzać doświadczenia z * zakresu prawdopodobieństwa. W eksperymentach używana będzie kostka. Kostka do * gry może działać w sposób niestandardowy i szanse na wyrzucenie określonej * liczby oczek...
j-markiewicz/java
J2/src/Eksperymentator.java
1,437
/** * Metoda sprawdza szansę na wyrzucenie określonych liczb oczek w dowolnej * kolejności. Zadanym zbiorem może być np. 1, 2 i 4. Jeśli w kolejnych rzutach * kostką otrzymamy przykładowo: * * <pre> * <b>2 1 4</b> * 3 4 1 &lt;- w tej i kolejnej linijce mamy łącznie 1 2 i 4, ale tu nie zliczamy trafienia...
block_comment
pl
import java.util.List; import java.util.Map; import java.util.Set; /** * Interfejs eksperymentatora, który będzie przeprowadzać doświadczenia z * zakresu prawdopodobieństwa. W eksperymentach używana będzie kostka. Kostka do * gry może działać w sposób niestandardowy i szanse na wyrzucenie określonej * liczby oczek...
8506_1
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
/** * Obiekty klasy Plot są po prostu wykresami XY. */
block_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_2
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
// Dlaczego to są finalne pola statyczne klasy, a nie zmienne lokalne metody
line_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_3
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
// paintComponent? W przyszłości planujemy możliwość automatycznego
line_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_4
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
// ustalania jak duże mają być marginesy i ewentualnie ich zmiany w razie
line_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_5
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
// potrzeby. To oznacza że powstaną metody takie jak setTopMargin itp.
line_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_6
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
// Wykres zawiera dwie osie - jedną odciętych, drugą rzędnych.
line_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_7
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
// Dane do wykreślania są gromadzone na liście.
line_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_8
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
// Uwaga: obecna wersja programu ma mechanizmy dodawania danych do listy,
line_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_9
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
// ale nie ma mechanizmów usuwania tych danych z listy. Oczywiście
line_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_10
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
// tę niedogodność można łatwo usunąć.
line_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_11
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
// Nazwa całego wykresu jest tu. Nazwy osi są w obiektach xAxis i yAxis.
line_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_12
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
// Lepiej dać pusty łańcuch znaków niż null, bo null wymagałby odrębnego
line_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_13
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
// sprawdzania, a pusty łańcuch znaków może (powinien) być bezpiecznie
line_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_14
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
// wywołanie konstruktora klasy bazowej
line_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_15
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
// Moglibyśmy pozostawić "naturalny" kolor okna, ale biały lepiej
line_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_16
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
// wygląda z wykresem. Przynajmniej takie jest moje subiektywne czucie.
line_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_17
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
/** * Dodawanie do wykresu danych które mają być potem wykreślane. * * @param x tablica double[] zawierającą wartości odciętych. * @param y tablica double[] zawierającą wartości rzędnych. * @param code kod taki jak w Matlab, litera oznaczaja kolor, minusy * oznaczają lini...
block_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_18
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
/** * Metoda odpowiedzialna za odmalowywanie komponentu. * * @param graphics jest obiektem <code>Graphics</code>. */
block_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_19
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
// Bez włączenia antyaliasingu obraz nie jest zbyt ładny, włączamy
line_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_20
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
// antyaliasing, co na współczesnych komputerach nie będzie problemem.
line_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_21
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
// Aby wszystko rozmieścić, potrzebujemy wiedzieć, ile mamy miejsca,
line_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_22
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
// gdzie je mamy i jakie są rozmiary czcionek. To dodatkowy narzut
line_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_23
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
// i być może dałoby się to (przynajmniej częściowo) robić poza metodą
line_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_24
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
// paintComponent. Ale wzrósłby wtedy poziom komplikacji programu,
line_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_25
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
// musielibyśmy się też zastanawiać czy mamy aktualne dane.
line_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_26
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
// @todo: dla niewielkich rozmiarów okna możliwe jest aby client_width
line_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_27
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
// i/lub client_height były ujemne, co doprowadzi do dziwacznych
line_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_28
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
// rezultatów - należałoby temu przeciwdziałać.
line_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_29
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
// Rysowanie osi. Ponieważ osie rysujemy na początku, to efektywnie
line_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_30
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
// będą one "na spodzie" wykresu. Czyli to co narysujemy później może
line_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_31
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
// zakryć osie i linie siatki.
line_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_32
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
// Rysowanie tytułu wykresu.
line_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_33
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
// Rysowanie danych poprzedzone zawężeniem obszaru przycinania tak,
line_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_34
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
// aby wypadał on wyłącznie wewnątrz osi współrzędnych.
line_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_35
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
/** * Po prostu nadawanie tytułu całemu wykresowi. * * @param title tytuł wykresu. */
block_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_36
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
/** * Po prostu nadanie nazwy dla osi x. * * @param string nazwa osi */
block_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8506_37
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
slawomirmarczynski/java
swingplot/src/swingplot/Plot.java
2,274
/** * Po prostu nadanie nazwy dla osi y. * @param string nazwa osi */
block_comment
pl
/* * The MIT License * * Copyright (c) 2023 Sławomir Marczyński. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
8507_0
import java.util.Random; import visidia.simulation.process.algorithm.SynchronousAlgorithm; import visidia.simulation.process.messages.Door; import visidia.simulation.process.messages.Message; import visidia.simulation.process.messages.StringMessage; public class FastMIS extends SynchronousAlgorithm { private static...
DistributedAlgorithms/TreeColouring
FastMISv2/src/FastMIS.java
1,523
//czekamy az inne skoncza
line_comment
pl
import java.util.Random; import visidia.simulation.process.algorithm.SynchronousAlgorithm; import visidia.simulation.process.messages.Door; import visidia.simulation.process.messages.Message; import visidia.simulation.process.messages.StringMessage; public class FastMIS extends SynchronousAlgorithm { private static...
8507_1
import java.util.Random; import visidia.simulation.process.algorithm.SynchronousAlgorithm; import visidia.simulation.process.messages.Door; import visidia.simulation.process.messages.Message; import visidia.simulation.process.messages.StringMessage; public class FastMIS extends SynchronousAlgorithm { private static...
DistributedAlgorithms/TreeColouring
FastMISv2/src/FastMIS.java
1,523
//liczba next pulsow w 1 rundzie
line_comment
pl
import java.util.Random; import visidia.simulation.process.algorithm.SynchronousAlgorithm; import visidia.simulation.process.messages.Door; import visidia.simulation.process.messages.Message; import visidia.simulation.process.messages.StringMessage; public class FastMIS extends SynchronousAlgorithm { private static...
8507_2
import java.util.Random; import visidia.simulation.process.algorithm.SynchronousAlgorithm; import visidia.simulation.process.messages.Door; import visidia.simulation.process.messages.Message; import visidia.simulation.process.messages.StringMessage; public class FastMIS extends SynchronousAlgorithm { private static...
DistributedAlgorithms/TreeColouring
FastMISv2/src/FastMIS.java
1,523
//czyscimy zmienne i wywolujemy MISa
line_comment
pl
import java.util.Random; import visidia.simulation.process.algorithm.SynchronousAlgorithm; import visidia.simulation.process.messages.Door; import visidia.simulation.process.messages.Message; import visidia.simulation.process.messages.StringMessage; public class FastMIS extends SynchronousAlgorithm { private static...
8507_3
import java.util.Random; import visidia.simulation.process.algorithm.SynchronousAlgorithm; import visidia.simulation.process.messages.Door; import visidia.simulation.process.messages.Message; import visidia.simulation.process.messages.StringMessage; public class FastMIS extends SynchronousAlgorithm { private static...
DistributedAlgorithms/TreeColouring
FastMISv2/src/FastMIS.java
1,523
//wywolujemy tyle next pulsow co w singleRound
line_comment
pl
import java.util.Random; import visidia.simulation.process.algorithm.SynchronousAlgorithm; import visidia.simulation.process.messages.Door; import visidia.simulation.process.messages.Message; import visidia.simulation.process.messages.StringMessage; public class FastMIS extends SynchronousAlgorithm { private static...
8507_4
import java.util.Random; import visidia.simulation.process.algorithm.SynchronousAlgorithm; import visidia.simulation.process.messages.Door; import visidia.simulation.process.messages.Message; import visidia.simulation.process.messages.StringMessage; public class FastMIS extends SynchronousAlgorithm { private static...
DistributedAlgorithms/TreeColouring
FastMISv2/src/FastMIS.java
1,523
//Wylosowalem mozliwosc dodania do MIS, rozsylam sygnal
line_comment
pl
import java.util.Random; import visidia.simulation.process.algorithm.SynchronousAlgorithm; import visidia.simulation.process.messages.Door; import visidia.simulation.process.messages.Message; import visidia.simulation.process.messages.StringMessage; public class FastMIS extends SynchronousAlgorithm { private static...
8507_5
import java.util.Random; import visidia.simulation.process.algorithm.SynchronousAlgorithm; import visidia.simulation.process.messages.Door; import visidia.simulation.process.messages.Message; import visidia.simulation.process.messages.StringMessage; public class FastMIS extends SynchronousAlgorithm { private static...
DistributedAlgorithms/TreeColouring
FastMISv2/src/FastMIS.java
1,523
//Sprawdzam czy moi sasiedzi nie chca sie dodac do MIS
line_comment
pl
import java.util.Random; import visidia.simulation.process.algorithm.SynchronousAlgorithm; import visidia.simulation.process.messages.Door; import visidia.simulation.process.messages.Message; import visidia.simulation.process.messages.StringMessage; public class FastMIS extends SynchronousAlgorithm { private static...
8507_6
import java.util.Random; import visidia.simulation.process.algorithm.SynchronousAlgorithm; import visidia.simulation.process.messages.Door; import visidia.simulation.process.messages.Message; import visidia.simulation.process.messages.StringMessage; public class FastMIS extends SynchronousAlgorithm { private static...
DistributedAlgorithms/TreeColouring
FastMISv2/src/FastMIS.java
1,523
//Dodaje sie i blokuje sasiadow w tej rundzie
line_comment
pl
import java.util.Random; import visidia.simulation.process.algorithm.SynchronousAlgorithm; import visidia.simulation.process.messages.Door; import visidia.simulation.process.messages.Message; import visidia.simulation.process.messages.StringMessage; public class FastMIS extends SynchronousAlgorithm { private static...
8507_7
import java.util.Random; import visidia.simulation.process.algorithm.SynchronousAlgorithm; import visidia.simulation.process.messages.Door; import visidia.simulation.process.messages.Message; import visidia.simulation.process.messages.StringMessage; public class FastMIS extends SynchronousAlgorithm { private static...
DistributedAlgorithms/TreeColouring
FastMISv2/src/FastMIS.java
1,523
//Jestem sasiadem, zostaje zablokowany
line_comment
pl
import java.util.Random; import visidia.simulation.process.algorithm.SynchronousAlgorithm; import visidia.simulation.process.messages.Door; import visidia.simulation.process.messages.Message; import visidia.simulation.process.messages.StringMessage; public class FastMIS extends SynchronousAlgorithm { private static...
8507_8
import java.util.Random; import visidia.simulation.process.algorithm.SynchronousAlgorithm; import visidia.simulation.process.messages.Door; import visidia.simulation.process.messages.Message; import visidia.simulation.process.messages.StringMessage; public class FastMIS extends SynchronousAlgorithm { private static...
DistributedAlgorithms/TreeColouring
FastMISv2/src/FastMIS.java
1,523
/** * W razie konfliktu (dwa sasiadujace wierzcholki chca sie dodac do MIS) * metoda porownuje liczbe sasiadow i ID jesli liczba sasiadow jest rowna * @param myDegree * @param neighborDegree * @param neighborID * @return */
block_comment
pl
import java.util.Random; import visidia.simulation.process.algorithm.SynchronousAlgorithm; import visidia.simulation.process.messages.Door; import visidia.simulation.process.messages.Message; import visidia.simulation.process.messages.StringMessage; public class FastMIS extends SynchronousAlgorithm { private static...
8507_9
import java.util.Random; import visidia.simulation.process.algorithm.SynchronousAlgorithm; import visidia.simulation.process.messages.Door; import visidia.simulation.process.messages.Message; import visidia.simulation.process.messages.StringMessage; public class FastMIS extends SynchronousAlgorithm { private static...
DistributedAlgorithms/TreeColouring
FastMISv2/src/FastMIS.java
1,523
/** * Wysylamy wiadomosc od siebie i oczekujemy na wiadomosci od niepoblokowanych sasiadow * Zliczamy odpowiedzi i mamy swoj stopien * (Potrzebne do pozniejszych rund, bo getArity() zawsze zwroci wszystkich sasiadow) * @return */
block_comment
pl
import java.util.Random; import visidia.simulation.process.algorithm.SynchronousAlgorithm; import visidia.simulation.process.messages.Door; import visidia.simulation.process.messages.Message; import visidia.simulation.process.messages.StringMessage; public class FastMIS extends SynchronousAlgorithm { private static...
8509_0
public class Fourth_Method { //Napisz program, który na podstawie podanego numeru miesiąca, wydrukuje ile w takim miesiącu //mamy dni. W przypadku podania złego numeru miesiąca, wydrukuje "Nie ma takiego miesiąca". //Użyj switch. public static void main(String[] args) { System.out.println("w ...
primalCodeMaker/JavaLearning
Exercises4/src/Fourth_Method.java
298
//Napisz program, który na podstawie podanego numeru miesiąca, wydrukuje ile w takim miesiącu
line_comment
pl
public class Fourth_Method { //Napisz program, <SUF> //mamy dni. W przypadku podania złego numeru miesiąca, wydrukuje "Nie ma takiego miesiąca". //Użyj switch. public static void main(String[] args) { System.out.println("w miesiacu jest " +dayInMounth(13) + " dni"); } private static...
8509_1
public class Fourth_Method { //Napisz program, który na podstawie podanego numeru miesiąca, wydrukuje ile w takim miesiącu //mamy dni. W przypadku podania złego numeru miesiąca, wydrukuje "Nie ma takiego miesiąca". //Użyj switch. public static void main(String[] args) { System.out.println("w ...
primalCodeMaker/JavaLearning
Exercises4/src/Fourth_Method.java
298
//mamy dni. W przypadku podania złego numeru miesiąca, wydrukuje "Nie ma takiego miesiąca".
line_comment
pl
public class Fourth_Method { //Napisz program, który na podstawie podanego numeru miesiąca, wydrukuje ile w takim miesiącu //mamy dni. <SUF> //Użyj switch. public static void main(String[] args) { System.out.println("w miesiacu jest " +dayInMounth(13) + " dni"); } private static int...
8510_1
/* * Copyright 2017 Young Digital Planet S.A. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
YoungDigitalPlanet/empiria.player
src/main/java/eu/ydp/empiria/player/client/module/media/MediaAvailableOptions.java
758
/** * Obiekt opisujacy dostepne opcje mediow. */
block_comment
pl
/* * Copyright 2017 Young Digital Planet S.A. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
8510_2
/* * Copyright 2017 Young Digital Planet S.A. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
YoungDigitalPlanet/empiria.player
src/main/java/eu/ydp/empiria/player/client/module/media/MediaAvailableOptions.java
758
/** * Czy mozemy wywolac akce play na kontrolerze * * @return true jezeli tak */
block_comment
pl
/* * Copyright 2017 Young Digital Planet S.A. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
8510_3
/* * Copyright 2017 Young Digital Planet S.A. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
YoungDigitalPlanet/empiria.player
src/main/java/eu/ydp/empiria/player/client/module/media/MediaAvailableOptions.java
758
/** * Czy mozemy wykonac akcje pause na kontrelerze * * @return true jezeli tak */
block_comment
pl
/* * Copyright 2017 Young Digital Planet S.A. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
8510_4
/* * Copyright 2017 Young Digital Planet S.A. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
YoungDigitalPlanet/empiria.player
src/main/java/eu/ydp/empiria/player/client/module/media/MediaAvailableOptions.java
758
/** * Czy mozemy wykonac akcje mute na kontrelerze * * @return true jezeli tak */
block_comment
pl
/* * Copyright 2017 Young Digital Planet S.A. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
8510_5
/* * Copyright 2017 Young Digital Planet S.A. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
YoungDigitalPlanet/empiria.player
src/main/java/eu/ydp/empiria/player/client/module/media/MediaAvailableOptions.java
758
/** * Czy mozemy zmieniac natezenie dzwieku * * @return true jezeli tak */
block_comment
pl
/* * Copyright 2017 Young Digital Planet S.A. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
8510_6
/* * Copyright 2017 Young Digital Planet S.A. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
YoungDigitalPlanet/empiria.player
src/main/java/eu/ydp/empiria/player/client/module/media/MediaAvailableOptions.java
758
/** * Czy mozemy wykonac akcje stop na kontrelerze * * @return true jezeli tak */
block_comment
pl
/* * Copyright 2017 Young Digital Planet S.A. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
8510_7
/* * Copyright 2017 Young Digital Planet S.A. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
YoungDigitalPlanet/empiria.player
src/main/java/eu/ydp/empiria/player/client/module/media/MediaAvailableOptions.java
758
/** * Czy mozemy dowlonie przemieszczac pozycje w strumieniu * * @return true jezeli tak */
block_comment
pl
/* * Copyright 2017 Young Digital Planet S.A. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
8510_8
/* * Copyright 2017 Young Digital Planet S.A. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
YoungDigitalPlanet/empiria.player
src/main/java/eu/ydp/empiria/player/client/module/media/MediaAvailableOptions.java
758
/** * Czy mozemy wykonac akcje peny ekran na kontrolerze * * @return true jezeli tak */
block_comment
pl
/* * Copyright 2017 Young Digital Planet S.A. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
8510_9
/* * Copyright 2017 Young Digital Planet S.A. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
YoungDigitalPlanet/empiria.player
src/main/java/eu/ydp/empiria/player/client/module/media/MediaAvailableOptions.java
758
/** * zwraca true jezeli mamy mozliwosc odczytania danych meta z zasobu takich jak dlugosc, pozycja w strumieniu itd.. * * @return */
block_comment
pl
/* * Copyright 2017 Young Digital Planet S.A. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
8510_10
/* * Copyright 2017 Young Digital Planet S.A. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
YoungDigitalPlanet/empiria.player
src/main/java/eu/ydp/empiria/player/client/module/media/MediaAvailableOptions.java
758
/** * Czy z danym odtwarzaczem mozliwe jest wykorzystanie szablonow * * @return */
block_comment
pl
/* * Copyright 2017 Young Digital Planet S.A. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
8615_0
/*#5. Kurs Java dla początkujących - Instrukcje warunkowe IF https://www.youtube.com/watch?v=CnG7wcxYbwk&list=PL6aekdNhY7DCM1wGLQCE9eP3kPzu-P7E7&index=6*/ public class task5 { public static void main(String[] args) { if(true) { System.out.println("Prawda"); } ...
dawidolko/Programming-Java
Courses/Coursee1/task05/src/task5.java
330
/*#5. Kurs Java dla początkujących - Instrukcje warunkowe IF https://www.youtube.com/watch?v=CnG7wcxYbwk&list=PL6aekdNhY7DCM1wGLQCE9eP3kPzu-P7E7&index=6*/
block_comment
pl
/*#5. Kurs Java <SUF>*/ public class task5 { public static void main(String[] args) { if(true) { System.out.println("Prawda"); } if(false) { System.out.println("Falsz"); } int wiek = 16; if(wiek >= 18) ...
8623_2
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package obrazy; /** * * @author Hubert */ public class Sort { //optymalne sortowanie - możesz wykorzystać je przy filtrach medianowych public static void quicksort(int tab[],int dol,int gora) { ...
hubertgabrys/ocr
src/obrazy/Sort.java
292
//optymalne sortowanie - możesz wykorzystać je przy filtrach medianowych
line_comment
pl
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package obrazy; /** * * @author Hubert */ public class Sort { //optymalne sortowanie <SUF> public static void quicksort(int tab[],int dol,int gora) { int i = dol, j = gora; int polowa = tab...
8624_0
/* W pliku `Main8.java` znajduje się tablica z temperaturami. 1. Temperatura w tablicy zapisana jest w stopniach Celsjusza, zamień ją na stopnie Fahrenheit'a. Przelicznik jest następujący: `tempCelc * 1.8 + 32`. 2. Aby to zrobić przeiteruj tablicę i nadpisz daną temperaturę nową, obliczoną wartością. 3. Oblicz śr...
ac189223/Prework_Java_e
Main8.java
469
/* W pliku `Main8.java` znajduje się tablica z temperaturami. 1. Temperatura w tablicy zapisana jest w stopniach Celsjusza, zamień ją na stopnie Fahrenheit'a. Przelicznik jest następujący: `tempCelc * 1.8 + 32`. 2. Aby to zrobić przeiteruj tablicę i nadpisz daną temperaturę nową, obliczoną wartością. 3. Oblicz śr...
block_comment
pl
/* W pliku `Main8.java` <SUF>*/ public class Main8 { public static void main(String[] args) { double[] temps = {30, 29, 14, 42, -4, -10, 8, 14, 32, 11, 8, 0, -15}; double sum = 0; for (int i = 0; i < temps.length; i++) { temps[i] = temps[i] * 1.8 + 32; sum += temps[i]; System.out.println(temps[i]); ...
8632_3
/* $Id$ */ /*************************************************************************** * (C) Copyright 2003-2010 - Stendhal * *************************************************************************** *************************************************************************** ...
KarajuSs/PolskaGRA
src/games/stendhal/server/maps/quests/MeetZynn.java
3,742
//www.polskagra.net/strona/kraina-pras%C5%82owia%C5%84ska jeżeli chcesz. Nie spodziewaj się, że będą na niej oznaczone potwory!");
line_comment
pl
/* $Id$ */ /*************************************************************************** * (C) Copyright 2003-2010 - Stendhal * *************************************************************************** *************************************************************************** ...
8634_0
public class Second { // Napisz program w którym użyjesz operatorów ==, !, !=, ++, -=, *=. Na początku masz zadeklarowaną //zmienną int x = 0. Podczas pisania programu nie możesz zadeklarować żadnej innej zmiennej, tzn. //przez cały czas pisania programu możesz operować tylko na tej jednej zmiennej. pu...
primalCodeMaker/JavaLearning
Exercises3/src/Second.java
315
// Napisz program w którym użyjesz operatorów ==, !, !=, ++, -=, *=. Na początku masz zadeklarowaną
line_comment
pl
public class Second { // Napisz program <SUF> //zmienną int x = 0. Podczas pisania programu nie możesz zadeklarować żadnej innej zmiennej, tzn. //przez cały czas pisania programu możesz operować tylko na tej jednej zmiennej. public static void main(String[] args) { Second second = new Second();...
8634_1
public class Second { // Napisz program w którym użyjesz operatorów ==, !, !=, ++, -=, *=. Na początku masz zadeklarowaną //zmienną int x = 0. Podczas pisania programu nie możesz zadeklarować żadnej innej zmiennej, tzn. //przez cały czas pisania programu możesz operować tylko na tej jednej zmiennej. pu...
primalCodeMaker/JavaLearning
Exercises3/src/Second.java
315
//zmienną int x = 0. Podczas pisania programu nie możesz zadeklarować żadnej innej zmiennej, tzn.
line_comment
pl
public class Second { // Napisz program w którym użyjesz operatorów ==, !, !=, ++, -=, *=. Na początku masz zadeklarowaną //zmienną int <SUF> //przez cały czas pisania programu możesz operować tylko na tej jednej zmiennej. public static void main(String[] args) { Second second = new Second(); ...
8634_2
public class Second { // Napisz program w którym użyjesz operatorów ==, !, !=, ++, -=, *=. Na początku masz zadeklarowaną //zmienną int x = 0. Podczas pisania programu nie możesz zadeklarować żadnej innej zmiennej, tzn. //przez cały czas pisania programu możesz operować tylko na tej jednej zmiennej. pu...
primalCodeMaker/JavaLearning
Exercises3/src/Second.java
315
//przez cały czas pisania programu możesz operować tylko na tej jednej zmiennej.
line_comment
pl
public class Second { // Napisz program w którym użyjesz operatorów ==, !, !=, ++, -=, *=. Na początku masz zadeklarowaną //zmienną int x = 0. Podczas pisania programu nie możesz zadeklarować żadnej innej zmiennej, tzn. //przez cały <SUF> public static void main(String[] args) { Second second =...
8636_0
public class Seventh { // Napisz program drukujący na ekranie ciąg Fibonacciego. Wydrukuj pierwsze 20 znaków ciągu. Znaki // ciągu możesz oddzielić spacją. // ciąg liczb naturalnych określony w następujący sposób: Pierwszy wyraz jest równy 0, // drugi jest równy 1, każdy kolejny jest sumą dwóch poprzednich. ...
primalCodeMaker/JavaLearning
Exercises5/src/Seventh.java
341
// Napisz program drukujący na ekranie ciąg Fibonacciego. Wydrukuj pierwsze 20 znaków ciągu. Znaki
line_comment
pl
public class Seventh { // Napisz program <SUF> // ciągu możesz oddzielić spacją. // ciąg liczb naturalnych określony w następujący sposób: Pierwszy wyraz jest równy 0, // drugi jest równy 1, każdy kolejny jest sumą dwóch poprzednich. // Ciąg Fibonacciego: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89 publi...
8636_1
public class Seventh { // Napisz program drukujący na ekranie ciąg Fibonacciego. Wydrukuj pierwsze 20 znaków ciągu. Znaki // ciągu możesz oddzielić spacją. // ciąg liczb naturalnych określony w następujący sposób: Pierwszy wyraz jest równy 0, // drugi jest równy 1, każdy kolejny jest sumą dwóch poprzednich. ...
primalCodeMaker/JavaLearning
Exercises5/src/Seventh.java
341
// ciągu możesz oddzielić spacją.
line_comment
pl
public class Seventh { // Napisz program drukujący na ekranie ciąg Fibonacciego. Wydrukuj pierwsze 20 znaków ciągu. Znaki // ciągu możesz <SUF> // ciąg liczb naturalnych określony w następujący sposób: Pierwszy wyraz jest równy 0, // drugi jest równy 1, każdy kolejny jest sumą dwóch poprzednich. // Ciąg Fi...
8636_2
public class Seventh { // Napisz program drukujący na ekranie ciąg Fibonacciego. Wydrukuj pierwsze 20 znaków ciągu. Znaki // ciągu możesz oddzielić spacją. // ciąg liczb naturalnych określony w następujący sposób: Pierwszy wyraz jest równy 0, // drugi jest równy 1, każdy kolejny jest sumą dwóch poprzednich. ...
primalCodeMaker/JavaLearning
Exercises5/src/Seventh.java
341
// ciąg liczb naturalnych określony w następujący sposób: Pierwszy wyraz jest równy 0,
line_comment
pl
public class Seventh { // Napisz program drukujący na ekranie ciąg Fibonacciego. Wydrukuj pierwsze 20 znaków ciągu. Znaki // ciągu możesz oddzielić spacją. // ciąg liczb <SUF> // drugi jest równy 1, każdy kolejny jest sumą dwóch poprzednich. // Ciąg Fibonacciego: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89 ...
8636_3
public class Seventh { // Napisz program drukujący na ekranie ciąg Fibonacciego. Wydrukuj pierwsze 20 znaków ciągu. Znaki // ciągu możesz oddzielić spacją. // ciąg liczb naturalnych określony w następujący sposób: Pierwszy wyraz jest równy 0, // drugi jest równy 1, każdy kolejny jest sumą dwóch poprzednich. ...
primalCodeMaker/JavaLearning
Exercises5/src/Seventh.java
341
// drugi jest równy 1, każdy kolejny jest sumą dwóch poprzednich.
line_comment
pl
public class Seventh { // Napisz program drukujący na ekranie ciąg Fibonacciego. Wydrukuj pierwsze 20 znaków ciągu. Znaki // ciągu możesz oddzielić spacją. // ciąg liczb naturalnych określony w następujący sposób: Pierwszy wyraz jest równy 0, // drugi jest <SUF> // Ciąg Fibonacciego: 0, 1, 1, 2, 3, 5, 8, 1...
8636_4
public class Seventh { // Napisz program drukujący na ekranie ciąg Fibonacciego. Wydrukuj pierwsze 20 znaków ciągu. Znaki // ciągu możesz oddzielić spacją. // ciąg liczb naturalnych określony w następujący sposób: Pierwszy wyraz jest równy 0, // drugi jest równy 1, każdy kolejny jest sumą dwóch poprzednich. ...
primalCodeMaker/JavaLearning
Exercises5/src/Seventh.java
341
// Ciąg Fibonacciego: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89
line_comment
pl
public class Seventh { // Napisz program drukujący na ekranie ciąg Fibonacciego. Wydrukuj pierwsze 20 znaków ciągu. Znaki // ciągu możesz oddzielić spacją. // ciąg liczb naturalnych określony w następujący sposób: Pierwszy wyraz jest równy 0, // drugi jest równy 1, każdy kolejny jest sumą dwóch poprzednich. ...
8664_0
import javax.swing.*; import java.awt.*; import java.io.*; import java.util.*; import java.util.List; public class GUIADDED{ LanguageChange languageChange = new LanguageChange(); ImageIcon icon = new ImageIcon(Objects.requireNonNull(getClass().getResource("/resources/icone_app.png"))); public Strin...
Forgotten409/MangaStoraged
src/GUIADDED.java
2,288
// Tworzenie folderu, jeśli nie istnieje
line_comment
pl
import javax.swing.*; import java.awt.*; import java.io.*; import java.util.*; import java.util.List; public class GUIADDED{ LanguageChange languageChange = new LanguageChange(); ImageIcon icon = new ImageIcon(Objects.requireNonNull(getClass().getResource("/resources/icone_app.png"))); public Strin...
8664_1
import javax.swing.*; import java.awt.*; import java.io.*; import java.util.*; import java.util.List; public class GUIADDED{ LanguageChange languageChange = new LanguageChange(); ImageIcon icon = new ImageIcon(Objects.requireNonNull(getClass().getResource("/resources/icone_app.png"))); public Strin...
Forgotten409/MangaStoraged
src/GUIADDED.java
2,288
// Format danych w pliku tekstowym - możesz dostosować go do swoich potrzeb
line_comment
pl
import javax.swing.*; import java.awt.*; import java.io.*; import java.util.*; import java.util.List; public class GUIADDED{ LanguageChange languageChange = new LanguageChange(); ImageIcon icon = new ImageIcon(Objects.requireNonNull(getClass().getResource("/resources/icone_app.png"))); public Strin...
8664_2
import javax.swing.*; import java.awt.*; import java.io.*; import java.util.*; import java.util.List; public class GUIADDED{ LanguageChange languageChange = new LanguageChange(); ImageIcon icon = new ImageIcon(Objects.requireNonNull(getClass().getResource("/resources/icone_app.png"))); public Strin...
Forgotten409/MangaStoraged
src/GUIADDED.java
2,288
// Dodanie nowej linii między rekordami
line_comment
pl
import javax.swing.*; import java.awt.*; import java.io.*; import java.util.*; import java.util.List; public class GUIADDED{ LanguageChange languageChange = new LanguageChange(); ImageIcon icon = new ImageIcon(Objects.requireNonNull(getClass().getResource("/resources/icone_app.png"))); public Strin...
8664_3
import javax.swing.*; import java.awt.*; import java.io.*; import java.util.*; import java.util.List; public class GUIADDED{ LanguageChange languageChange = new LanguageChange(); ImageIcon icon = new ImageIcon(Objects.requireNonNull(getClass().getResource("/resources/icone_app.png"))); public Strin...
Forgotten409/MangaStoraged
src/GUIADDED.java
2,288
// Tutaj musisz podzielić linię na części, używając odpowiedniego separatora (np. przecinka)
line_comment
pl
import javax.swing.*; import java.awt.*; import java.io.*; import java.util.*; import java.util.List; public class GUIADDED{ LanguageChange languageChange = new LanguageChange(); ImageIcon icon = new ImageIcon(Objects.requireNonNull(getClass().getResource("/resources/icone_app.png"))); public Strin...
8664_4
import javax.swing.*; import java.awt.*; import java.io.*; import java.util.*; import java.util.List; public class GUIADDED{ LanguageChange languageChange = new LanguageChange(); ImageIcon icon = new ImageIcon(Objects.requireNonNull(getClass().getResource("/resources/icone_app.png"))); public Strin...
Forgotten409/MangaStoraged
src/GUIADDED.java
2,288
// Teraz masz dane wczytane z pliku, możesz zrobić co chcesz z tymi danymi
line_comment
pl
import javax.swing.*; import java.awt.*; import java.io.*; import java.util.*; import java.util.List; public class GUIADDED{ LanguageChange languageChange = new LanguageChange(); ImageIcon icon = new ImageIcon(Objects.requireNonNull(getClass().getResource("/resources/icone_app.png"))); public Strin...
8664_5
import javax.swing.*; import java.awt.*; import java.io.*; import java.util.*; import java.util.List; public class GUIADDED{ LanguageChange languageChange = new LanguageChange(); ImageIcon icon = new ImageIcon(Objects.requireNonNull(getClass().getResource("/resources/icone_app.png"))); public Strin...
Forgotten409/MangaStoraged
src/GUIADDED.java
2,288
// Na przykład, możesz utworzyć obiekt Manga i dodać go do listy.
line_comment
pl
import javax.swing.*; import java.awt.*; import java.io.*; import java.util.*; import java.util.List; public class GUIADDED{ LanguageChange languageChange = new LanguageChange(); ImageIcon icon = new ImageIcon(Objects.requireNonNull(getClass().getResource("/resources/icone_app.png"))); public Strin...
8668_0
import java.nio.charset.StandardCharsets; import java.util.List; /** * Mikołaj postanowił w tym roku skorzytać z pomocy nowoczesnych technologii * i zamiast rozwozić wszystkie prezenty, niektóre przesłać przez Internet. * Do tego celu musi zamienić nazwy prezentów w strumienie bitów! * Pomoż Mikołajowi! Przygotuj ...
w-polubiec/christmas-challenge
src/Day4_PresentToZeroOnes.java
490
/** * Mikołaj postanowił w tym roku skorzytać z pomocy nowoczesnych technologii * i zamiast rozwozić wszystkie prezenty, niektóre przesłać przez Internet. * Do tego celu musi zamienić nazwy prezentów w strumienie bitów! * Pomoż Mikołajowi! Przygotuj kod, który zamieni nazwy prezentów na ciąg zer i jedynek. * Dla k...
block_comment
pl
import java.nio.charset.StandardCharsets; import java.util.List; /** * Mikołaj postanowił w <SUF>*/ public class Day4_PresentToZeroOnes { public static void main(String[] args) { List<String> ideas = List.of( "Parfum", "Socks", "Sweather", "Cup", "Hat", "Tea", "Coffee", ...
8687_0
package Projekt; import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; public class GUI extends JFrame{ private JPanel panel1; private JTextField loginText; private JLabel Login; private JLabel Password; private JButton logIn; ...
RadandMoc/Projekt_Java
Projekt/GUI.java
944
/** * Konstruktor GUI. Inicjuje interfejs graficzny i ładuje stan aplikacji z pliku. * W przypadku błędów podczas ładowania stanu, rzuca wyjątkiem RuntimeException. */
block_comment
pl
package Projekt; import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; public class GUI extends JFrame{ private JPanel panel1; private JTextField loginText; private JLabel Login; private JLabel Password; private JButton logIn; ...
8687_1
package Projekt; import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; public class GUI extends JFrame{ private JPanel panel1; private JTextField loginText; private JLabel Login; private JLabel Password; private JButton logIn; ...
RadandMoc/Projekt_Java
Projekt/GUI.java
944
// Przykład inicjalizacji komponentów (Możesz dostosować według swoich potrzeb)
line_comment
pl
package Projekt; import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; public class GUI extends JFrame{ private JPanel panel1; private JTextField loginText; private JLabel Login; private JLabel Password; private JButton logIn; ...
8687_3
package Projekt; import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; public class GUI extends JFrame{ private JPanel panel1; private JTextField loginText; private JLabel Login; private JLabel Password; private JButton logIn; ...
RadandMoc/Projekt_Java
Projekt/GUI.java
944
/** * Główna metoda aplikacji. Tworzy nowy interfejs GUI. * @param args Parametry wiersza poleceń (nieużywane). */
block_comment
pl
package Projekt; import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; public class GUI extends JFrame{ private JPanel panel1; private JTextField loginText; private JLabel Login; private JLabel Password; private JButton logIn; ...
8687_4
package Projekt; import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; public class GUI extends JFrame{ private JPanel panel1; private JTextField loginText; private JLabel Login; private JLabel Password; private JButton logIn; ...
RadandMoc/Projekt_Java
Projekt/GUI.java
944
/** * Zwraca aktualną instancję GUI. * @return Aktualna instancja GUI. */
block_comment
pl
package Projekt; import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; public class GUI extends JFrame{ private JPanel panel1; private JTextField loginText; private JLabel Login; private JLabel Password; private JButton logIn; ...
8687_5
package Projekt; import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; public class GUI extends JFrame{ private JPanel panel1; private JTextField loginText; private JLabel Login; private JLabel Password; private JButton logIn; ...
RadandMoc/Projekt_Java
Projekt/GUI.java
944
/** * Dodaje nowego użytkownika do AppManager. * @param u Obiekt użytkownika do dodania. */
block_comment
pl
package Projekt; import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; public class GUI extends JFrame{ private JPanel panel1; private JTextField loginText; private JLabel Login; private JLabel Password; private JButton logIn; ...
8687_7
package Projekt; import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; public class GUI extends JFrame{ private JPanel panel1; private JTextField loginText; private JLabel Login; private JLabel Password; private JButton logIn; ...
RadandMoc/Projekt_Java
Projekt/GUI.java
944
/** * Tworzy komponenty interfejsu użytkownika. Wszystkie niestandardowe komponenty powinny być tworzone tutaj. */
block_comment
pl
package Projekt; import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; public class GUI extends JFrame{ private JPanel panel1; private JTextField loginText; private JLabel Login; private JLabel Password; private JButton logIn; ...
8695_0
package com.example.fotoradar.views; import com.example.fotoradar.SwitchScene; import com.example.fotoradar.TeamsComponentFlag; import com.example.fotoradar.components.TeamComponentLeftClickListener; import com.example.fotoradar.components.TeamComponentRightClickListener; import com.example.fotoradar.components.TeamFo...
michalgalant0/fotoradar
src/main/java/com/example/fotoradar/views/TeamsView.java
2,166
// wypełnienie bloku zespołów danymi z bazy
line_comment
pl
package com.example.fotoradar.views; import com.example.fotoradar.SwitchScene; import com.example.fotoradar.TeamsComponentFlag; import com.example.fotoradar.components.TeamComponentLeftClickListener; import com.example.fotoradar.components.TeamComponentRightClickListener; import com.example.fotoradar.components.TeamFo...
8695_1
package com.example.fotoradar.views; import com.example.fotoradar.SwitchScene; import com.example.fotoradar.TeamsComponentFlag; import com.example.fotoradar.components.TeamComponentLeftClickListener; import com.example.fotoradar.components.TeamComponentRightClickListener; import com.example.fotoradar.components.TeamFo...
michalgalant0/fotoradar
src/main/java/com/example/fotoradar/views/TeamsView.java
2,166
// Przykład sprawdzenia i wyświetlenia komunikatu w miejscu pola tytułu
line_comment
pl
package com.example.fotoradar.views; import com.example.fotoradar.SwitchScene; import com.example.fotoradar.TeamsComponentFlag; import com.example.fotoradar.components.TeamComponentLeftClickListener; import com.example.fotoradar.components.TeamComponentRightClickListener; import com.example.fotoradar.components.TeamFo...
8695_2
package com.example.fotoradar.views; import com.example.fotoradar.SwitchScene; import com.example.fotoradar.TeamsComponentFlag; import com.example.fotoradar.components.TeamComponentLeftClickListener; import com.example.fotoradar.components.TeamComponentRightClickListener; import com.example.fotoradar.components.TeamFo...
michalgalant0/fotoradar
src/main/java/com/example/fotoradar/views/TeamsView.java
2,166
// Pobranie wcześniej utworzonego pola tekstowego do wprowadzania tytułu
line_comment
pl
package com.example.fotoradar.views; import com.example.fotoradar.SwitchScene; import com.example.fotoradar.TeamsComponentFlag; import com.example.fotoradar.components.TeamComponentLeftClickListener; import com.example.fotoradar.components.TeamComponentRightClickListener; import com.example.fotoradar.components.TeamFo...
8695_3
package com.example.fotoradar.views; import com.example.fotoradar.SwitchScene; import com.example.fotoradar.TeamsComponentFlag; import com.example.fotoradar.components.TeamComponentLeftClickListener; import com.example.fotoradar.components.TeamComponentRightClickListener; import com.example.fotoradar.components.TeamFo...
michalgalant0/fotoradar
src/main/java/com/example/fotoradar/views/TeamsView.java
2,166
// Ustawienie czerwonej ramki lub tła dla pola tytułu jako wskazanie błędu
line_comment
pl
package com.example.fotoradar.views; import com.example.fotoradar.SwitchScene; import com.example.fotoradar.TeamsComponentFlag; import com.example.fotoradar.components.TeamComponentLeftClickListener; import com.example.fotoradar.components.TeamComponentRightClickListener; import com.example.fotoradar.components.TeamFo...
8695_4
package com.example.fotoradar.views; import com.example.fotoradar.SwitchScene; import com.example.fotoradar.TeamsComponentFlag; import com.example.fotoradar.components.TeamComponentLeftClickListener; import com.example.fotoradar.components.TeamComponentRightClickListener; import com.example.fotoradar.components.TeamFo...
michalgalant0/fotoradar
src/main/java/com/example/fotoradar/views/TeamsView.java
2,166
// Możesz dostosować to według potrzeb
line_comment
pl
package com.example.fotoradar.views; import com.example.fotoradar.SwitchScene; import com.example.fotoradar.TeamsComponentFlag; import com.example.fotoradar.components.TeamComponentLeftClickListener; import com.example.fotoradar.components.TeamComponentRightClickListener; import com.example.fotoradar.components.TeamFo...
8695_5
package com.example.fotoradar.views; import com.example.fotoradar.SwitchScene; import com.example.fotoradar.TeamsComponentFlag; import com.example.fotoradar.components.TeamComponentLeftClickListener; import com.example.fotoradar.components.TeamComponentRightClickListener; import com.example.fotoradar.components.TeamFo...
michalgalant0/fotoradar
src/main/java/com/example/fotoradar/views/TeamsView.java
2,166
// Wstawienie komunikatu w miejscu pola tytułu
line_comment
pl
package com.example.fotoradar.views; import com.example.fotoradar.SwitchScene; import com.example.fotoradar.TeamsComponentFlag; import com.example.fotoradar.components.TeamComponentLeftClickListener; import com.example.fotoradar.components.TeamComponentRightClickListener; import com.example.fotoradar.components.TeamFo...
8695_6
package com.example.fotoradar.views; import com.example.fotoradar.SwitchScene; import com.example.fotoradar.TeamsComponentFlag; import com.example.fotoradar.components.TeamComponentLeftClickListener; import com.example.fotoradar.components.TeamComponentRightClickListener; import com.example.fotoradar.components.TeamFo...
michalgalant0/fotoradar
src/main/java/com/example/fotoradar/views/TeamsView.java
2,166
// Jeśli tytuł nie jest pusty, przywróć domyślny styl pola tekstowego
line_comment
pl
package com.example.fotoradar.views; import com.example.fotoradar.SwitchScene; import com.example.fotoradar.TeamsComponentFlag; import com.example.fotoradar.components.TeamComponentLeftClickListener; import com.example.fotoradar.components.TeamComponentRightClickListener; import com.example.fotoradar.components.TeamFo...
8695_7
package com.example.fotoradar.views; import com.example.fotoradar.SwitchScene; import com.example.fotoradar.TeamsComponentFlag; import com.example.fotoradar.components.TeamComponentLeftClickListener; import com.example.fotoradar.components.TeamComponentRightClickListener; import com.example.fotoradar.components.TeamFo...
michalgalant0/fotoradar
src/main/java/com/example/fotoradar/views/TeamsView.java
2,166
// Usunięcie dodanego stylu (reset do domyślnego)
line_comment
pl
package com.example.fotoradar.views; import com.example.fotoradar.SwitchScene; import com.example.fotoradar.TeamsComponentFlag; import com.example.fotoradar.components.TeamComponentLeftClickListener; import com.example.fotoradar.components.TeamComponentRightClickListener; import com.example.fotoradar.components.TeamFo...
8695_8
package com.example.fotoradar.views; import com.example.fotoradar.SwitchScene; import com.example.fotoradar.TeamsComponentFlag; import com.example.fotoradar.components.TeamComponentLeftClickListener; import com.example.fotoradar.components.TeamComponentRightClickListener; import com.example.fotoradar.components.TeamFo...
michalgalant0/fotoradar
src/main/java/com/example/fotoradar/views/TeamsView.java
2,166
// Możesz także usunąć komunikat, jeśli taki został wyświetlony
line_comment
pl
package com.example.fotoradar.views; import com.example.fotoradar.SwitchScene; import com.example.fotoradar.TeamsComponentFlag; import com.example.fotoradar.components.TeamComponentLeftClickListener; import com.example.fotoradar.components.TeamComponentRightClickListener; import com.example.fotoradar.components.TeamFo...
8695_9
package com.example.fotoradar.views; import com.example.fotoradar.SwitchScene; import com.example.fotoradar.TeamsComponentFlag; import com.example.fotoradar.components.TeamComponentLeftClickListener; import com.example.fotoradar.components.TeamComponentRightClickListener; import com.example.fotoradar.components.TeamFo...
michalgalant0/fotoradar
src/main/java/com/example/fotoradar/views/TeamsView.java
2,166
// Usunięcie wyświetlonego komunikatu
line_comment
pl
package com.example.fotoradar.views; import com.example.fotoradar.SwitchScene; import com.example.fotoradar.TeamsComponentFlag; import com.example.fotoradar.components.TeamComponentLeftClickListener; import com.example.fotoradar.components.TeamComponentRightClickListener; import com.example.fotoradar.components.TeamFo...
8695_10
package com.example.fotoradar.views; import com.example.fotoradar.SwitchScene; import com.example.fotoradar.TeamsComponentFlag; import com.example.fotoradar.components.TeamComponentLeftClickListener; import com.example.fotoradar.components.TeamComponentRightClickListener; import com.example.fotoradar.components.TeamFo...
michalgalant0/fotoradar
src/main/java/com/example/fotoradar/views/TeamsView.java
2,166
// Reszta kodu z zapisem obiektu Team
line_comment
pl
package com.example.fotoradar.views; import com.example.fotoradar.SwitchScene; import com.example.fotoradar.TeamsComponentFlag; import com.example.fotoradar.components.TeamComponentLeftClickListener; import com.example.fotoradar.components.TeamComponentRightClickListener; import com.example.fotoradar.components.TeamFo...
8695_11
package com.example.fotoradar.views; import com.example.fotoradar.SwitchScene; import com.example.fotoradar.TeamsComponentFlag; import com.example.fotoradar.components.TeamComponentLeftClickListener; import com.example.fotoradar.components.TeamComponentRightClickListener; import com.example.fotoradar.components.TeamFo...
michalgalant0/fotoradar
src/main/java/com/example/fotoradar/views/TeamsView.java
2,166
// Przykład sprawdzenia i wyświetlenia komunikatu w miejscu pola tytułu
line_comment
pl
package com.example.fotoradar.views; import com.example.fotoradar.SwitchScene; import com.example.fotoradar.TeamsComponentFlag; import com.example.fotoradar.components.TeamComponentLeftClickListener; import com.example.fotoradar.components.TeamComponentRightClickListener; import com.example.fotoradar.components.TeamFo...