This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes cant create boxlayout demo ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "cant create boxlayout demo ?" Watch "cant create boxlayout demo ?" New topic
Author

cant create boxlayout demo ?

naved momin
Ranch Hand

Joined: Jul 03, 2011
Posts: 688

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 .


The Only way to learn is ...........do!
Visit my blog http://inaved-momin.blogspot.com/
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

What makes you think that?
naved momin
Ranch Hand

Joined: Jul 03, 2011
Posts: 688

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
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

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

Joined: May 03, 2008
Posts: 4523
    
    5

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'?


luck, db
There are no new questions, but there may be new answers.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: cant create boxlayout demo ?
 
Similar Threads
A few questions on the paint() method
Populate Array of type Double from text file
Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
Persistence.xml file not wokring in JGrasp IDE
null pointer