Java Reference
In-Depth Information
button and account name information left-justified, and stack the Total
and Remaining labels vertically on top of each other. Do you always need
to create new intermediate containers? Can you do it just with
GridBagLayout ?
2. Modify the BudgetPro program so that it displays a pop-up dialog when
you try to create a subaccount with more money than is available to that
account.
3. Modify the dialog used for creating subaccounts, so that it also prompts
for the owner's name. This can get more complicated if you want to allow
only valid user names. Instead, let any name be entered and create a User
object for it.
4. Modify the BudgetPro program and associated classes to allow for editing
of the values in the accounts, so that the user can change dollar allocations.
Start with the ability to edit the value in the table (custom editor).
5. Replace the JTable (and the View Subaccount button) with a JTree
object.
Search WWH ::




Custom Search