I'm using netbeans IDE and I created a Jframe with two Jpanels one is for Jbuttons and other one is for load another Jpanels to it when clicks those buttons. I tried to do it from buttonclick action. Jpanel2 j2=new Jpanel2(); JPanel1.add(j2); j2.setVisible(True); but this code is not working. I want to know how can I do this. (I think this is also same as loading JinternelFrames)

Member Avatar
Member Avatar
+0 forum 1

Hey fellows, I have three database tables AUCTIONS auction_id name description place date BIDDERS bidder_id firstname lastname email signupdate BIDS bid_id auction_id bidder_id biddate I want to create a drop down menu to select and display BIDDERS signed up for each AUCTIONS. I have coded the following in PHP to select the auction_id and title from AUCTIONS table into the drop down list. [CODE] <!-- Assuming connected to mysql database --> <form id="form1" name="form1" method="post" action=""> <?php $query="SELECT * FROM auctions"; $result =mysql_query($query,); $options=""; while ($row=mysql_fetch_array($result)) { $auction_id=$row["auction_id"]; $name=$row["name"]; $options.="<OPTION VALUE=\"$auction_id\">".$name.'</option>'; } ?> Auction: <select name="select" id="select"> <option value="Select All">Select …

Member Avatar
Member Avatar
+0 forum 3

The End.