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

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -