Hello! I am using nebeans ide. I have made two jframes in my project, jframe1 and jframe2. One for login information and one for admin page. My project ran succesfuly i.e when i enter correct information on login page then admin page is displayed. But one problem is that after displaying admin page, login page should disappear but in my case login page(i.e jframe1) also remained open alon with admin page. What code should i add to hide or exit login page only(i.e jframe1)?

Member Avatar
Member Avatar
+0 forum 4

Hey Guys, I am working on a search that takes in a value via textfield. Once taken in it should display another Jframe with the info but the searchbox crashes the second I run it. Its some stupid mistake I have made or i have gone about it the wrong way but at this stage my brain is fried from lookin at this code and i am not making any head way. The search box Code: import com.sun.rowset.JdbcRowSetImpl; import java.sql.SQLException; import java.util.logging.Level; import java.util.logging.Logger; /** * * @author Joe Lyons */ public class BB_Value_SearchBox extends javax.swing.JFrame { /** * Creates …

Member Avatar
Member Avatar
+0 forum 3

**hi ... i am new in java swing. i am using netbeans. i've two frame named jFrame1 & jFrame2. jFrame2 contains a jTable. jFrame1 contains a jTextField & a jButton. while user input a value in jTextField and press JButton, jFrame2 will appear and output (from mySQL database) will be displayed. Please Help. Thanks in advance ...**

Member Avatar
Member Avatar
+0 forum 2

I have four JFrames open in an application. I wish for one of them to be the base JFrame, and when one of the others is closed than everything except the base frame will dispose. How do I link the other three JFrames so that when any one of them is closed (disposed) they all close?

Member Avatar
Member Avatar
+0 forum 3

Hello, I currently have 2 JFrames for my "game" (Not really a good one), one for the actual game and one for a minimap. What I can't figure out is that when you click off the game (for example to a browser or something) the game and minimap loose focus, but when you click on the game again, the minimap may not show or is still not on top. What I want is so that once the game is brought into focus (they are playing the game) the minimap is shown next to it, on top. I hope that makes …

Member Avatar
Member Avatar
+0 forum 2

The End.