<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: MessageBox from a Jpane appears under all the windows in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/MessageBox-from-a-Jpane-appears-under-all-the-windows/m-p/2362416#M126558</link>
    <description>&lt;P&gt;Thank you @Anselmo Peixoto​, I've missed the &amp;nbsp;"frame.setVisible(true);" line. &lt;/P&gt;&lt;P&gt;Using that, now my panel is showed with priority over the other windows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 24 Oct 2023 12:09:13 GMT</pubDate>
    <dc:creator>Serphentelm</dc:creator>
    <dc:date>2023-10-24T12:09:13Z</dc:date>
    <item>
      <title>MessageBox from a Jpane appears under all the windows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MessageBox-from-a-Jpane-appears-under-all-the-windows/m-p/2362414#M126556</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've a Job with 2 Tjava at the end. In those Tjava I've written some custom code that will check some data in given tables and if I encounter an anomlay, I've set up to display a message box using Jpane. The problem rises when the msgbox is not showed in the first layer, but is instead overlayed by all the windows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I've got a plenty of this cheks, I've used some routines to semplify the process of using lot of tmsgBox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to let the message appear in front of all the windows?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:18:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MessageBox-from-a-Jpane-appears-under-all-the-windows/m-p/2362414#M126556</guid>
      <dc:creator>Serphentelm</dc:creator>
      <dc:date>2024-11-15T21:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: MessageBox from a Jpane appears under all the windows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MessageBox-from-a-Jpane-appears-under-all-the-windows/m-p/2362415#M126557</link>
      <description>&lt;P&gt;Hello @matteo marchesi​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't tell why the JPanel is being overlayed by all other windows without looking at your code, but what I usually do is use a JPanel inside a JFrame and it works pretty well. Here's an example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;       JFrame frame = new JFrame("Window");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//frame.setLayout(new GridLayout(7, 2, 10, 10)); // 7 rows, 2 columns, with gaps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Create a JPanel with a BorderLayout&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;JPanel panel = new JPanel(new BorderLayout());&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;panel.setLayout(new GridLayout(7, 2, 10, 10));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;frame.add(panel);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;       //panel content goes here&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;       frame.pack();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;frame.setLocationRelativeTo(null); // center the window&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;frame.setVisible(true);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;frame.setSize(400, 300);  //set window size&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;frame.setResizable(false);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Anselmo&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 01:46:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MessageBox-from-a-Jpane-appears-under-all-the-windows/m-p/2362415#M126557</guid>
      <dc:creator>anselmopeixoto</dc:creator>
      <dc:date>2023-10-24T01:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: MessageBox from a Jpane appears under all the windows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MessageBox-from-a-Jpane-appears-under-all-the-windows/m-p/2362416#M126558</link>
      <description>&lt;P&gt;Thank you @Anselmo Peixoto​, I've missed the &amp;nbsp;"frame.setVisible(true);" line. &lt;/P&gt;&lt;P&gt;Using that, now my panel is showed with priority over the other windows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 12:09:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MessageBox-from-a-Jpane-appears-under-all-the-windows/m-p/2362416#M126558</guid>
      <dc:creator>Serphentelm</dc:creator>
      <dc:date>2023-10-24T12:09:13Z</dc:date>
    </item>
  </channel>
</rss>

