Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-04-2007, 09:09 PM
Member
 
Join Date: Nov 2007
Posts: 6
roo7 is on a distinguished road
main window & print dialog
Hi,

I have problem when I run the software then I run the print method through button. The print dialog appears behind the main window. I tried many ways but I didn't find the solution.

How I can fix this problem????!!!!!!!


Thanks.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-02-2008, 04:40 AM
CaptainMorgan's Avatar
Moderator
 
Join Date: Dec 2007
Location: NewEngland, US
Posts: 839
CaptainMorgan will become famous soon enoughCaptainMorgan will become famous soon enough
Send a message via AIM to CaptainMorgan
Without some code, I'm afraid you'll have a tough time finding a resolution.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 01-02-2008, 05:49 AM
simi's Avatar
Member
 
Join Date: Dec 2007
Location: Singapore
Posts: 18
simi is on a distinguished road
Send a message via Yahoo to simi
if you are coding using Java 1.5, can try Window.setAlwaysOnTop(). else check whether you set owner(main window) properly in print dailog constructor.
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 01-02-2008, 07:50 AM
Member
 
Join Date: Nov 2007
Posts: 6
roo7 is on a distinguished road
I solved it...

thanks captainMorgan & simi..
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
refresh a different window marceldupont AWT / Swing 3 03-22-2008 03:44 AM
passing values from main page to pop up window vicky JavaServer Pages (JSP) and JSTL 2 01-18-2008 12:24 PM
ERROR: Exception in thread "main" java.lang.NoSuchMethodError: main barney New To Java 1 08-07-2007 08:10 AM
exception in thred main java.lang.nosuchmethoderror: main fernando Java Applets 1 08-06-2007 10:11 AM
Java Print Dialog Framework 1.7 levent Java Announcements 0 06-19-2007 06:07 PM


All times are GMT +3. The time now is 12:38 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org