Notice: Функция _load_textdomain_just_in_time вызвана неправильно. Загрузка перевода для домена kirki была запущена слишком рано. Обычно это индикатор того, что какой-то код в плагине или теме запускается слишком рано. Переводы должны загружаться при выполнении действия init или позже. Дополнительную информацию можно найти на странице «Отладка в WordPress». (Это сообщение было добавлено в версии 6.7.0.) in /home/hwor/blagovest.org.ru/wp-includes/functions.php on line 6114

Notice: Функция _load_textdomain_just_in_time вызвана неправильно. Загрузка перевода для домена shamrock была запущена слишком рано. Обычно это индикатор того, что какой-то код в плагине или теме запускается слишком рано. Переводы должны загружаться при выполнении действия init или позже. Дополнительную информацию можно найти на странице «Отладка в WordPress». (Это сообщение было добавлено в версии 6.7.0.) in /home/hwor/blagovest.org.ru/wp-includes/functions.php on line 6114

Warning: Cannot modify header information - headers already sent by (output started at /home/hwor/blagovest.org.ru/wp-includes/functions.php:6114) in /home/hwor/blagovest.org.ru/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/hwor/blagovest.org.ru/wp-includes/functions.php:6114) in /home/hwor/blagovest.org.ru/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/hwor/blagovest.org.ru/wp-includes/functions.php:6114) in /home/hwor/blagovest.org.ru/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/hwor/blagovest.org.ru/wp-includes/functions.php:6114) in /home/hwor/blagovest.org.ru/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/hwor/blagovest.org.ru/wp-includes/functions.php:6114) in /home/hwor/blagovest.org.ru/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/hwor/blagovest.org.ru/wp-includes/functions.php:6114) in /home/hwor/blagovest.org.ru/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/hwor/blagovest.org.ru/wp-includes/functions.php:6114) in /home/hwor/blagovest.org.ru/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/hwor/blagovest.org.ru/wp-includes/functions.php:6114) in /home/hwor/blagovest.org.ru/wp-includes/rest-api/class-wp-rest-server.php on line 1893
{"id":95188,"date":"2015-12-20T11:01:05","date_gmt":"2015-12-20T07:01:05","guid":{"rendered":"http:\/\/blagovest.org.ru\/?p=95188"},"modified":"2015-12-20T11:01:05","modified_gmt":"2015-12-20T07:01:05","slug":"kak-risovat-na-forme-java-swing","status":"publish","type":"post","link":"https:\/\/blagovest.org.ru\/?p=95188","title":{"rendered":"\u041a\u0430\u043a \u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u0444\u043e\u0440\u043c\u0435 java swing"},"content":{"rendered":"

\u041d\u0443\u0436\u043d\u043e \u043d\u0430\u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u043b\u0438\u043d\u0438\u044e \u0438 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u0444\u043e\u0440\u043c\u0435.<\/p>\n

\u0424\u043e\u0440\u043c\u0443 \u0441\u043e\u0437\u0434\u0430\u044e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n

package BattleShip2dPack;
import javax.swing.JFrame;
import java.awt.*;<\/p>\n

public class BattleShip2dClass {<\/p>\n

\/**
\t * @param args
\t *\/
\tpublic static void main(String[] args) {
\t\t\/\/ TODO Auto-generated method stub
\t\tJFrame Frm = new JFrame();
\t\tCanvas canvas = new Canvas();
\t\tGraphics g =  Frm.getGraphics();<\/p>\n

        \/\/\/g.drawLine(10, 20, 30, 40);
       
\t\tFrm.setLocation(400, 200);
\t\tFrm.setSize(500, 300);
\t\tFrm.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
\t\tFrm.setTitle("\u041c\u043e\u0440\u0441\u043a\u043e\u0439 \u0431\u043e\u0439");
\t\tFrm.setVisible(true);
\t\tFrm.setBackground(Color.black);
\t\tFrm.setForeground(Color.black);<\/p>\n

\t\tFrm.add("Center", canvas);<\/p>\n

\t\t \/\/canvas.paintAll(g);
\t\t \/\/canvas.update(g);
\t}<\/p>\n

}<\/p>\n

\u041f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u043c\u0435\u0442\u043e\u0434 \u0440\u0438\u0441\u043e\u0432\u0430\u043d\u0438\u044f \u043b\u0438\u043d\u0438\u0438
\u043f\u043e\u043b\u0443\u0447\u0430\u044e:<\/p>\n

Exception in thread "main" java.lang.NullPointerException
\tat BattleShip2dPack.BattleShip2dClass.main(BattleShip2dClass.java:19)  <\/p>\n","protected":false},"excerpt":{"rendered":"

\u041d\u0443\u0436\u043d\u043e \u043d\u0430\u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u043b\u0438\u043d\u0438\u044e \u0438 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u0444\u043e\u0440\u043c\u0435. \u0424\u043e\u0440\u043c\u0443 \u0441\u043e\u0437\u0434\u0430\u044e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c: package BattleShip2dPack;import javax.swing.JFrame;import java.awt.*; public class BattleShip2dClass { \/** * @param args *\/ public static void main(String[] args) { \/\/ TODO Auto-generated method stub JFrame Frm = new JFrame(); Canvas canvas = new Canvas(); Graphics g =  Frm.getGraphics();         \/\/\/g.drawLine(10, 20, […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1435],"tags":[78,1639,1460,1638],"class_list":["post-95188","post","type-post","status-publish","format-standard","hentry","category-windows","tag-java","tag-swing","tag-programmirovanie","tag-risovanie"],"_links":{"self":[{"href":"https:\/\/blagovest.org.ru\/index.php?rest_route=\/wp\/v2\/posts\/95188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blagovest.org.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blagovest.org.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blagovest.org.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blagovest.org.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=95188"}],"version-history":[{"count":0,"href":"https:\/\/blagovest.org.ru\/index.php?rest_route=\/wp\/v2\/posts\/95188\/revisions"}],"wp:attachment":[{"href":"https:\/\/blagovest.org.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=95188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blagovest.org.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=95188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blagovest.org.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=95188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}