2017-09-14 19 views
1

데비안 9에서 Java 응용 프로그램을 실행하고 있는데, iceWm 윈도우 관리자가 설치되어 있습니다.iceWm windows manager windows issue

자바 애플리케이션에는 하나의 버튼이있는 메인 프레임이 있으며 버튼을 클릭하면 새로운 Jframe이 그려집니다.

내 응용 프로그램을 시작하고 난 두 번째 프레임이 표시되고 다시 누르면이 예상 숨 깁니다 버튼을 눌러 tofronttoback

처음 자바 기능을 트리거 버튼을 다시 누르면

하지만, 그 후 내가 다시 누르는 경우 프레임 탭이 깜빡이고 있지만 창 관리자 작업 표시 줄에는 표시되지 않습니다.

IceWm 창 관리자의 환경 설정을 변경하려했지만 도움이되지 않았습니다.

버튼을 누르고 앞면 자바 기능을 호출 할 때마다 새 프레임이 메인 프레임 상단에 표시되는지 어떻게 확인할 수 있습니까?

도움을 주셔서 감사합니다.

답변

1

twm을 사용하면 제목 테두리를 쉽게 제거 할 수 있으며 자바 쪽에서는 모두 을 제어 할 수 있습니다. 임베디드 애플리케이션에 더 좋습니다.

내 system.twmrc에 따라, 당신은// 등 X11

답장을 보내
# 
NoGrabServer 
NoTitle 
RandomPlacement 
RestartPreviousState 
DecorateTransients 
#IconifyByUnmapping 
#TitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" 
#ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" 
#MenuFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" 
#IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" 
#IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*" 
ClientBorderWidth 2 
BorderWidth 2 
ButtonIndent 3 
NoHighlight 

# This is for hiding the ugly menubar in windows who dont need em. 
NoTitle 
{ 
# "x11amp"   # x11amp, the winamp lookalike, http://x11amp.ml.org. 
# "xlogo"   # a must have :) 
    "xosview" 
} 

Color 
{ 
    BorderColor "gray85" 
    DefaultBackground "black" 
    DefaultForeground "gray85" 
    TitleBackground "black" 
    TitleForeground "gray85" 
    MenuBackground "black" 
    MenuForeground "gray85" 
    MenuTitleBackground "gray65" 
    MenuTitleForeground "black" 
    IconBackground "black" 
    IconForeground "white" 
    IconBorderColor "black" 
    IconManagerBackground "black" 
    IconManagerForeground "gray85" 
    PointerForeground "black" 
    PointerBackground "white" 

} 

Cursors 
{ 
         Frame  "left_ptr" 
         Title  "left_ptr" 
         Icon  "left_ptr" 
         IconMgr "left_ptr" 
         Move  "fleur" 
         Resize "fleur" 
         Menu  "hand1" 
         Button "hand2" 
         Wait  "clock" 
         Select "dot" 
         Destroy "pirate" 
} 
+0

덕분에 그것을 저장,하지만 난 TWM를 설치할 때, sikuli는 전혀 실행하지 않았다! , 또한 창 관리자를 변경하지 않을 솔루션을 찾고 있습니다. – flashDisk