HelpNeeded!!!Facing Problems in a Project
(i hope i'm using the right terms so correct me if i'm wrong )
There are two classes: Purpose(main Class) and Manager
Using NetBeans and bothclasses are in the same package
( code below)
Objective:the each button from Purpose.class will open its Manager.class
with its respective JComboBox content
Problem:1.Purpose compiles fine.But in Purpose i've put icons for JButton
Q.How do i make the icon cover the whole JButton
Q.how do i send data to Manager class
Q.after Building the icons Dissappear(though i used Url)
2.Manager during shows : Exception in thread main"
BUILD SUCCESSFUL //But Does not show any window
Q.Since depending on Button pressed in main
strings will be sent to the JcomboBox in Manager
respectively.How do i come about that is there a better way.
PS. I am a beginner and am learning form the tutorials online.So if any suggestions to write my code code better(or some other form of expressing it) will be appreciated.
also i'm having a lot of trouble with Layout and Alignment .
would like to have a layout like this for Manager.
Ps.Attaching the layout desired
any link you'd like me to read that are already posted(having trouble find the right keyword to enter in the search )