This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
I was wondering how i would be able to implement a graphic simulation of a Home with Doors and Window panes with sensors and would detect Burglar Intruders . Is it possible to have a cool looking GUI in Swings . like has some one used the Java 2D and Java 3d packages . can you please guide me on this .
"People who are unable to motivate themselves must be content with mediocrity , no matter how impressive their other talents " -Andrew Carnegie
You will probably have no difficulty finding tutorials if you Google, but here's one to get you started.
Joined: Feb 11, 2009
I did google dude...but i am looking for some Heads up as to how to go about the GUI . how to implement the sensors .
this is the problem description . I was wondering how to go about the GUI aspect of this . how should i show the burglar trying to intrude through doors or window . the entire project is a simulation so i am not gonna use any camera etc . do you think a database is gonna be needed for this project ?
Home Security System is a microprocessor-based home security system which protects homes against “break-ins” or illegal entry. The system uses appropriate sensors, located at specific locations through out the house, to detect a break-in and set off an alarm/call a monitoring service through a phone-line. The system can be programmed by the home owner to telephone a monitoring agency when a situation is detected. The following description of the system will serve as the requirements specification for the system.
The system consists of sensors, one sensor installed at a location near every window, two at the front entrance and two at the back entrance. Each sensor is identified with a number and its location. The system provides a control panel (with a display and function keys) using which the home-owner can configure the system, monitor and change the configuration. A master password is programmed for arming and disarming the system. The control panel’s display shows if the system is on, off, malfunctioning and/or if certain specific sensors are inactive. The system can be activated by turning on the start button or a timer with the day and the time can be set to activate the system at that specific time. The system can be deactivated either manually or using the timer. The system can be configured to set off an alarm if a break-in is detected or the system is malfunctioning. Optionally, the system can call a monitoring-service (up to 3 telephone numbers can be input at the time of arming the system). The call is made to the telephone numbers given, identifying the time of the call, identification of the service number, location and the nature of the problem. The call is made once every minute until a response to the call is made by entering a response code into the system. The system also logs information about the problem detected, when the call is made and the time of response (noted by the response code being entered). A home-owner can selectively activate some or all of the sensors, the default case being all the sensors are activated.
Joined: Oct 13, 2005
Start off very simply with non-GUI sensors. You won't want real sensors, obviously. Then try a very simple GUI which sets off an alarm when you put the mouse on a square . . .