Results 1 to 7 of 7
- 07-20-2010, 04:10 PM #1
Member
- Join Date
- Jul 2010
- Posts
- 2
- Rep Power
- 0
-
You'll need to re-write your code so that the child window is a JDialog not a JFrame.
- 07-20-2010, 05:28 PM #3
Member
- Join Date
- Jul 2010
- Posts
- 2
- Rep Power
- 0
But I use Netbeans GDE to my application. I create a new JFrame then I can't re-write code to a JDialog.
- 07-20-2010, 06:18 PM #4
Dear lord :rolleyes:
Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
The Ubiquitous Newbie Tips
- 07-21-2010, 11:31 AM #5
- 07-21-2010, 12:33 PM #6
Oh yeah,
you can also do this,
Java Code:public class ChildFrame extends JDialog{ public ChildFrame(JFrame frame){.... // -- code here } public static void main(String[] args){ try{ ChildFrame frame = new ChildFrame(new JFrame()); //................... } }
- 07-21-2010, 03:32 PM #7
Senior Member
- Join Date
- Jul 2009
- Posts
- 1,143
- Rep Power
- 5
Similar Threads
-
passing an object from one JDialog to Jframe
By sinha in forum AWT / SwingReplies: 7Last Post: 12-16-2009, 04:56 PM -
Communicate JFrame with JDialog
By BeRniTo in forum AWT / SwingReplies: 2Last Post: 08-31-2009, 02:07 PM -
Unable to display JDialog from JFrame
By jv5 in forum NetBeansReplies: 2Last Post: 02-04-2009, 04:33 AM -
Returning data from a JFrame/JDialog?!
By Joe2003 in forum AWT / SwingReplies: 6Last Post: 01-08-2009, 12:14 AM -
problems with jDialog in a JFrame
By bbq in forum AWT / SwingReplies: 1Last Post: 07-05-2007, 04:14 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks