Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

cant create boxlayout demo ?  RSS feed

 
naved momin
Ranch Hand
Posts: 692
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i m implementing box layout ...
but i m unable to add argument to constructor that specifies arrange the button on yaxis ...on line 41.



there are following exceptions at runtime .
 
Paul Clapham
Sheriff
Posts: 22185
38
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What makes you think that?
 
naved momin
Ranch Hand
Posts: 692
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul Clapham wrote:What makes you think that?

java api ok . fine give me some solution so that i can fix it ! and learn something from it
 
Paul Clapham
Sheriff
Posts: 22185
38
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Aha. I see you edited your post to include some useful information. So now perhaps somebody will be able to suggest some course of action to you.
 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
naved momin wrote:line 41.



there are following exceptions at runtime .


Have you read the API for JFrame#setLayout(...)? What does it say?

Do you understand what it means to 'forward a call'?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!