Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!transit3.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!53ab2750!not-for-mail From: "markspace" Subject: Re: Layout Doesn't Work Message-ID: <5022AB85.56373.calajapr@time.synchro.net> X-Comment-To: clusardi2k Newsgroups: comp.lang.java.programmer In-Reply-To: <5022AB84.56369.calajapr@time.synchro.net> References: <5022AB84.56369.calajapr@time.synchro.net> X-FTN-AREA: COMP.LANG.JAVA.PROGRAMMER X-FTN-MSGID: 1:261/38 1c10dcbc X-FTN-REPLY: 1:261/38 f27337d3 Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: time.synchro.net [Synchronet 3.16a-Win32 NewsLink 1.98] Lines: 28 Date: Wed, 08 Aug 2012 19:04:26 GMT NNTP-Posting-Host: 69.21.70.65 X-Complaints-To: news@tds.net X-Trace: newsreading01.news.tds.net 1344452666 69.21.70.65 (Wed, 08 Aug 2012 14:04:26 CDT) NNTP-Posting-Date: Wed, 08 Aug 2012 14:04:26 CDT Organization: tds.net Xref: csiph.com comp.lang.java.programmer:17422 To: clusardi2k From: markspace <-@.> On 8/8/2012 5:54 AM, clusardi2k@aol.com wrote: > Nice project thanks, but I have two questions: > > (Q1) How can you either modify this code or create a different > project to use controls that were dragged to the JFrame from the > swing Palette. The code is not to create the buttons, JFrame, JPanel, > or JLabel. > > I.E.:In Design View suppose you have a JFrame, jPanel1, jButton1, > jButton2, and jLabel1 already on the Frame. They were dragged to the > form. Your current project did not create them. The buttons and label > are in the jPanel. How would you make jLabel1 become invisible and > invisible using two buttons. What have you actually tried? Where's your code? What in this tutorial doesn't work for you? --- BBBS/Li6 v4.10 Dada-1 * Origin: Prism bbs (1:261/38) --- Synchronet 3.16a-Win32 NewsLink 1.98 Time Warp of the Future BBS - telnet://time.synchro.net:24