How to detect proxy while connecting a url

When I started learning Java (infact I still am) I was stuck in assignment to open the net connection, which was outside our institute firewall. The document at Sun’s website explains in depth the traditional, as well as the latest way (Use of Proxy class/Proxy Selector)to use…


Know your nation – I

Which country shares LONGEST border with India? India shares the longest border with Bangladesh. Indo bangladesh border spans five of Indian state namely WestBengal, Assam, Meghalaya, Tripura. Mezoram and stretches for 4096.70km. Indo Chinese border stretches for around 4000 km. What are official names of…


JFormattedText Field with Date

While trying JFormattedTextField, I had this requirement to show placeholder to the user to guide him while providing the date input. There was also a need to pop up user with the error message, if the input was incorrect. (Yeah, I understand that many prefer inline…


A night in Indian Train

  “Nitish to haar rahain hai is baar” said my co-passenger sitting in the seat next to me. Is he talking to me? I gave him a confused look, and then he said it again – “Nitish ji to haar rahain hain” with a confident…


Munich to Venezia

No we are not going to Paris! Why? Is Paris Hilton, who was our tour guide, not well? Nonsense. Don’t crack PJs, there’s no decent accommodation available out there, as this is peak time.. So..?? So what? Let me think… Dude don’t think but act….

Blog, Islamic

I Protest

Whosoever kills an innocent human being, it shall be as if he has killed all mankind, and whosoever saves the life of one, it shall be as if he had saved the life of all mankind. ~ Holy Quran 5:32 I wonder, if this Ayaah…