Skip to main content

Posts

Today

Today, I started to design about simulation what has just 1 Robot. But,I forgot any workings. 1. I have to change a message stile. Current version: Message has just one Zone Object. When the stat is changed by VW then it will send 2 message. One is stop and another is Start. But I can combine them. Because start have to be called after stop is called. I have no idea that how many times do I need for this changing. I wont to do about it less than 3 hour. 2. I have to make slide for sumer camp. I will make presentation at next camp. So, I have to make it from 0. Sure, I already have alder one. But, they say few important thing. Maybe.....My ToDo List has much more work. But, I cannot fined now. I will fined them after waking up. Good night.

Noooooooooooooooooooooooooooooooo

I try to use a simulator. But many of documents for it is just in Germany. ToT To read Germany is so difficult. I studyed it just 2 years.......I didnt study hard.......ToT Sure, when I write any documents I also will do just in japanese.... No way...... And I can access from just inside academic. I have to make VPN.....

This week

I used many times for Network at this and last weeks. In there work I make many opinionaire for network environments I got too much exceptional answer. ....... ToT

KeyListener

Broadcast system has the function what is register and unregister. My system already has register function. Also unregister, but it unregister function is just be it. This meaning is no class or method call it. When I want to use nuregister method I need to make keyListener for finalize. Example, when I want to kill my process I will push any key like as Control+C. When the implementing this thing we will know one problem what is who have to own this method. Hmmmmmmm No one can push any key at the just time when just one method is called. Some of web site have any information about it. But, there information is finished inside just 1 or 2 class. I think there case is just few lear case.

Work!!!!

I think my code can be worked!!! Actuary, I felt scare that if my code cannot work from today.... This program work correct. But, sometime it made any strange work........ synchronize?? Memory full?? ......?????? I have to check more for it

Rectangle2D

When we want to use Rectangle2D.Double with RMI we will need Serializable Rectangle2D.Double. Rectangle2D is serialized by sun. <------- java.awt.Rectangle But java.awt.Rectangle is supported just for Integer Version. So, I made SerializableRectangle2D like as following code. public class SerializableRectangle2D extends Rectangle2D.Double implements Serializable { public SerializableRectangle2D() { super(); } public SerializableRectangle2D(double x, double y, double w, double h) { super(x, y, w, h); } } However the getting value is just 0 when I use rmi and get message. But, no documents was google in japanse.... I lose 3 days....... Some of web site said i cannot do it using easy way.... And some of site said java 1.6 will be able to be suported it. This meaning.......it will be able to use serialized Rectangle2D.Double....... Actuary........I have no way how to make solution for this problem......

Memo: java.awt.geom

When I want to check intersect between 2 square, I use java.awt.geom. ============================================= Rectangle2D r1 = new Rectangle2D.Double(x, y, width, height); Rectangle2D r2 = new Rectangle2D.Double(x, y, width, height); Rectangle2D diff = r1.createIntersection(r2); ============================================= But, when between r2 and r1 has no intersect then this class make strange shape..... I will check why this class out put like as this.