While you are developing for windows, you may occasionally have to deal with problems related to old implementations.
In the post Java – How to draw a string on a jLabel icon I shown how to draw a string into a Graphics2D using Java. But, in this case, the text you are drawing is aliased.
To apply antialiasing to the text to draw, you have to set the rendering hints.
It's really simple, before calling the drawString method, call the following method:
In the post MyBlueSec – BIll Of Materials for a Minimal System I introduced the MyBlueSec Minimal System, in this post I want to show the hardware used and how to connect boards each other.
The following picture shows the caos on my desk, before I started assembling the system.
The minimal system for MyBlueSec is a system which is able to identify and manage ibeacon devices. When they will cross the fence, the system will send an SMS to some registered cell phones.
So the base system shall be able to manage bluetooth 4.0 communications and SMS's.
The base board is an Arduino 1 board, on the top of the Arduino board (piggyback) there will be a GSM Shield and on the top of the GSM Shield there will be a Bluetooth 4.0 antenna.
Since it is a security system, it should be decoupled by the mains electricity. So we have to add a backup battery.
MyBlueSec is an OpenSource project (at least for the components developed by xappsoftware).
The logic of the system is implemented on the Arduino environment to reach the goals of low cost and low power consumption.
Communication between the Arduino MyBlueSec base board and the remote sensors and actuators is implemented through the Bluetooth 4.0 standards. (BLE and iBecon).