java - Adding a component to jpanel in netbeans -
i have been trying past few hours figure out how add label component window no prevail. have created new desktop application project in netbeans , comes pre-generated code. want add label not show?. unsure why because following normal panel.add(component) convention.
would appreciate help!. pasted full file sourecode here http://pastebin.com/qjk6bswn .
any ideas?
what layout jpanel using? if it's using netbeans gui builder default of free design won't able manually add components. you'll need set layout manager.
parts of gui can have free design layout, you'll need change layout of components want manually add to.
Comments
Post a Comment