Category Archives: Java

All topics relating to Java

Scrolling a JPopupMenu (Scrollable JPopupMenu)

I’ve just come across a need for a JPopupMenu with lots of menu items and found out scrolling support if not built on? Shock! Horror! After using Google to look for options and finding everything over-engineered or doing some weird … Continue reading

Posted in Java, learning by example | Leave a comment

Scheduling a recurring event (Timers)

So you need an event to occur at regular intervals without doing your own time checks and forcing your application to operate sequentially? You have a number of options open to you but my favourites are the Timer classes, either … Continue reading

Posted in Java, learning by example | Tagged , , | Leave a comment

Screen Capture Utility

Ever had the need to capture some or all of your screen so that you can include the image in to an email, or other documentation?¬†You could use the default Windows screen print functionality but that will capture all of … Continue reading

Posted in Java, Software | Tagged , , , | Leave a comment