Thursday, March 20, 2008

Looks nearly similar to the design

With the new table component and springlayout manager, have been able to achieve near similarity to my design. The springlayout manager came as a rescuer as I spent my day grappling with the flowlayout manager that kept putting the charts below the table instead of on the side.
Next aim --> To have a big screen chart on mouseover.

Wednesday, March 19, 2008

Infrared Bluetooth USB

So much can be done using the new technologies. But my mind can never get into a inventive mode. All I can think of are small small applications. One such that came to my mind yesterday -
 
TVs are control remotely through infra-red rays. All that the infra-red rays do is to send a signal at a certain frequency to the TV's sensor which then sends it as an electrical signal to the chip inside the TV for taking appropriate action based on the current. Same time, LCD TVs have come up with USB connections through which PCs can be connected, such that TVs can be used as monitors. I am not exactly sure how the signals are fed through the USB port and the normal cables simultaneously, but its good that it can be done.
Bluetooth can be used to connect between two devices that are at close proximity wirelessly to avoid clutter of wires.
Since all these are available, why not load programs/games into USB devices and plug into the TV, put a IR sensor on top of the TV IR sensor and use bluetooth to carry signal frmo the IR sensor to the USB device to run the programs through the remote? You can play small games, load softwares, watch movies. Whatd'ya think?

Work in Progress

Have been able to create this till now. Was also able to show the other details of the stock like prev day closing price, todays opening price, high price, low price etc threough graphics... but now am planning to use table instead. Need to put better color schemes in the charts. Am also planning to make this a single cloumn chart instead of two column and then add a mouselistener. On moving mouse over a particular chart a new panel will slowly come out from under the frame that will be much bigger and show the chart in a bigger scale.
Also, thought a lot about this last night while sleeping and have decided to add the following features.
On single click on the graph - show one month chart on daily data from database
On double click show one year chart with daily data from database.
Table to have current portfolio at the top portion and reccomendations at the bottom portion with links for buy and sell.
In portfolio, if share price is going up will change color to green else to red. If no change then black.