Ask Your Question

Fedora 22 and Java fullscreen

asked 2015-09-29 01:41:12 -0500

rkstyle gravatar image

Hello. Im new in Fedora and i need to fix one problem with java.... I have to open fullscreen with java but i have problem. Can i fix fullscreen on fedora ?

package root; import java.awt.GraphicsEnvironment; import java.awt.Rectangle; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.lang.reflect.Array; import java.util.ArrayList;

import javax.swing.JButton; import javax.swing.JFrame; public class frame extends JFrame { public void getFrameInformation(ArrayList frame_args) { JButton full_screen_btn = new JButton("FullScreen"); full_screen_btn.setSize(200,50); JFrame j_frame = new JFrame(); j_frame.setSize ((int)frame_args.get(2) /2 ,(int) frame_args.get(3)/2);

    // event mouse click button //
    full_screen_btn.addMouseListener(new MouseAdapter(){
        public void mouseClicked(MouseEvent e) {



    j_frame.setTitle((String) frame_args.get(0));



edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2015-09-29 11:12:40 -0500

msx gravatar image

updated 2015-10-05 12:37:09 -0500

Hello and welcome to Fedora.

What is the problem you're having, can you describe it with more detail? Also, in which way it is related with Fedora?

UPDATE (based on OP's answer): Ok, now I think I understand what you're asking :) In GNOME Shell you can either make a window full-screen (which in some cases will trigger the involved application to show a special UI according to it's new size and role) or use an extension to make the top bar hide when a window is maximized. There's even a nice extension called 'Pixel saver' that instead fully expanding the maximized window will try to remove window's frame by sending it's control buttons to the top bar. Please check GNOME's extensions website for the right extension for your needs:

edit flag offensive delete link more


Ty for supp man.

rkstyle gravatar imagerkstyle ( 2015-09-30 02:08:48 -0500 )edit

answered 2015-09-29 13:47:32 -0500

rkstyle gravatar image

I have very bad en but i show you image... How i resize full with no top bar ? image description

edit flag offensive delete link more

Question Tools


Asked: 2015-09-29 01:41:12 -0500

Seen: 147 times

Last updated: Oct 05 '15