This week's book giveaway is in the Other Languages forum. We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line! See this thread for details.
Is it possible to remove the close icon on the top right? I want to create a JDialog that notifies the user that the application is loading but i want to control the closing and not the user. I want the box to be similar to what displays when you start up NetBeans or Forte. Thanks in advance for your time. Pam
posted 12 years ago
You can call setUndecorated(true) on your JDialog to remove the title bar and the close button. If you are meaning for this to be a splash screen, then you would be better suited to use JWindow or JFrame, because otherwise you need a parent window for the screen. If you haven't loaded the main gui yet, then you won't have a parent window. Kyle