Detect Which Screen Monitor Your Coordinates Belong To Using Java

Getting a screen’s size is simple using Toolkit class’ getScreenSize(). But what if you are working using more than 1 screen monitor, say a dual monitor? The ToolKit class won’t apply in this case. There are a few set of classes in Java that can do the trick namely GraphicsEnvironment... 

Source:  Tech Tips Tricks

Catch Events After JSplitPane Divider Location Is Moved

Catching events after you move a JSplitPane’s divider can be made possible through the PropertyChangeListenerJSplitPane class. Make sure you supply the ’s DIVIDER_LOCATION_PROPERTY as the parameter so that this listener will listent to modified divider location events. If you do not supply... 

Source:  Tech Tips Tricks

  . .