Java

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…

Java

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…