This is a very useful java GUI Form builder utility class. This is a useful addtion to java GUI builders list. You can build forms for input with a very little work and time.
It provides simple methods to start adding components in vertical or horizontal positions.
There are also other utility methods like adding fields with Labels and Groups of OK, Cancel Buttons etc.
there is a simple test program to show the working in zip file.
If you like this work, drop comments to appreciate 🙂
A utility class that will accept an array of menu names and their mnemonics with menu item names and their mnemonics and return a JMenuBar to be added in a JFrame or where you would like to add, also it will apply your provided Menu Listener for actions.
This is a fully working dynamic stack program example. The stack size is increased on overflow and decreased accordingly when empty space is more than 66% on pushing some element.
There is an interface to control the operations on stack. To make dynamic stack, the array is referenced to a new array with deferent size that is temporary. Other help comment are also present right in the code.
If you like this work, drop a comment.
Another version in which stack index variable starts from -1 is here .