Questions tagged [jinternalframe]

JInternalFrame is a lightweight Java Swing component that provides many of the features of a native frame, including dragging, closing, becoming an icon, resizing, title display, and support for a menu bar.

JInternalFrame is a lightweight Java Swing component that provides many of the features of a native frame, including dragging, closing, becoming an icon, resizing, title display, and support for a menu bar.
For task-oriented documentation and examples of using internal frames, see How to Use Internal Frames, a section in The Java Tutorial.

420 questions
-1
votes
1 answer

Java application - swing - pop up on right click changes background colour

I am having issues with my java application and I can't find a suitable reply. In summary a right click triggered default pop up menu changes my chart's background color behind the pop up. You can find images below. I am happy to keep the default…
-1
votes
1 answer

How center JInternalFrame?

Using Java 1.8. I use JInternalFrame. Here I set the size of the internal frame WelcomeInternalFrame.java . public class WelcomeInternalFrame extends JInternalFrame implements ActionListener { private void addInternalFrame(JInternalFrame…
Alex
  • 705
  • 1
  • 9
  • 18
-1
votes
1 answer

Is there a method to know when the focus of an internal frame has changed to a different one within a desktop pane?

I have a JDesktopPane which creates several JInternalFrame components. The desktop keeps some variables which each internal frame needs to know, so every time an internal frame is clicked, it needs to check the desktop variables and copy them. When…
Berbus
  • 160
  • 3
  • 20
-1
votes
1 answer

Unable To change the title foreground of Jinternal Frame

I am able to change the font of Titlebar of JinternalFrame but i am unable to change the foreground of Jinternalframe ...I tried using following code but dint worked UIManager.put("InternalFrame.activeTitleBackground",…
-1
votes
1 answer

Java JInternalFrame dispose find source

I have a JInternalFrame which could be closed by clicking on the X button or programmatically from the menu. Both approaches end up in public void internalFrameClosing(InternalFrameEvent e) and later public void…
mikel
  • 3
  • 2
-1
votes
2 answers

Center Screen JFileChooser

I want to set the location of my JFileChooser at the center of my JInternalFrame: JFileChooser fileChooser = new JFileChooser(); fileChooser.setCurrentDirectory(new File(System.getProperty("user.home"))); fileChooser.setLocation();
MACP
  • 1
  • 1
-1
votes
1 answer

Java Internal Frame resize event listener?

I can not find any information on how to catch the "resize" event of a JInternalFrame, I really mean internal frame. Indeed, the InternalFrameListener does not catch the "resize" events. Should I write it myself using the…
Titi
  • 1
  • 2
-1
votes
1 answer

Java Swing: Initialize JinternalFrame to the top of its layer

I have to create a multitext editor, and when you open the a new frame it should appear on top of all the others, but must remain on the same level so it could fall to the very back when needed. Whats the easiest way to do this? I have tried the…
Kyle
  • 1
-1
votes
2 answers

bring Jinternal frame infront of everything

in this code when the new button is clicked, the Jinternalframe goes behind the button, even if i add anything else like, jlabel, jtextfield, etc, the internalframe opens behind everything. i tried the tofront() and movetofront() functions, but it…
Kumayl Fazal
  • 11
  • 1
  • 4
-1
votes
1 answer

Components are maximizing but not moving to TOP

I'm making one jInternalFrame where I'am adding tabs dynamically. now adding a new TAB I have coded, /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.ui; import…
Santosh Giri
  • 109
  • 12
-1
votes
1 answer

vlcj embeddedmediaplayercomponent in Jinternal Fream Adding Issues

Jinternal frame Add jvlcEmbeddedmediaPlayerComponent problem is jDropdownlist open than list is back side list in vlc Control and other Problem is if maximize Jinternal Frame other vlc Component our Spreed Current Maximize jinternal frame look…
-1
votes
1 answer

Adding JDesktopPane to JFrame using GridBagLayout

How do I add the JDesktopPane to JFrame using GridBagLayout and set its height and width. If I add JDesktopPane that contains JInternalFrame I don't get anything. But works well in case of GridLayout but the problem is I can't set my desired size in…
Praburaj
  • 613
  • 8
  • 21
-1
votes
1 answer

what are the techniques for displaying the internal frame?

what are the techniques for displaying the JInternalFrame? Follow f = new Follow(); Follow is my JInternalFrame and i want to print that on JFrame. In JFramethere is already one JInternalFrame is running. and i want to print this JInternalFrame…
Daxesh Prajapati
  • 151
  • 3
  • 13
-1
votes
1 answer

Multiple JInternalFrame view

I create the multiple JInternalFrame. It is working properly. But when create the JInternalFrame, it is load over the existing one. I need the JInternalFrame like as table cells (row by row).
Puvanarajan
  • 2,786
  • 6
  • 26
  • 37
-1
votes
2 answers

how to list all visible jinternal frame from desktoppane to window menu in java

Am creating an MDI application .I have added all internalframe to desktoppane. My problem is to add all visible internal frames as menu items to "window" menu. and when another frame is selected from menu it should set focus. And i have to cal same…
Devu
  • 1
  • 3
1 2 3
27
28