java - vlcj EmbeddedMediaPlayerComponent does not resize to original size -


Please take a look at the attached images. VLCJ hides the media component control button when the window is changed to the original dimensions after the maximum size. vlcj inital Vlcj full screen vlcj after resizing

  public class Players of the VLCPanel JPanel Extended {Private Embedded Media Player Companent Player Component; Public player VLCPanel () {this.playerComponent = ComponentStore.getCameraStreamer (); Set layout (new border layout ()); Add (this.playerComponent.getVideoSurface (), BorderLayout.CENTER); }} Public Class Camera Camera ControllPlan JPNL {Public CamerasBobControlPanel () Expands {Designgrid Layout Layout = New Design Grid Layout (This); . Layout.row () grid (expertDnLabel) .add (expertDnField); Layout.ro () Right (). Add (Startcombutton, StopCamButton, Start Laser Button, Stop Lager Button) .Fill (); }} Public class mainplayer container JPanel {public mainplayer container (set layout (new box layout (this, box layout.Y_ADIS)) is expanded; add the setborder (new blank border (3, 3, 3, 3)); Finally,  

in the topRegion (); // Add Player VLCPanel (Reciproc () below); // In the end,

  Jeffre Frame = New Gefram ("VLCJ Test"); Frame.add (New Main Players Container ()); Frame.setting (100, 100); Frame.setSize (1050, 600) ); Frame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE); frame.setVisible (true);  

How can I stop this behavior? Thanks in advance.

< P>

Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -