google-scholar

How to use Google scholar in Java desktop application ?

I want to build a desktop application for search paper on www. In my application i want used google scholar as search engine , but when i find on Internet have a exampel but in PHP . So can you give solution to buid desktop application by java use google scholar Thanks ...