Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #31312 > unrolled thread
| Started by | Philipp Kraus <philipp.kraus@flashpixx.de> |
|---|---|
| First post | 2015-03-12 09:53 +0100 |
| Last post | 2015-03-12 09:11 -0400 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.java.programmer
JFXPanel resizing Philipp Kraus <philipp.kraus@flashpixx.de> - 2015-03-12 09:53 +0100
Re: JFXPanel resizing Jeff Higgins <jeff@invalid.invalid> - 2015-03-12 09:11 -0400
| From | Philipp Kraus <philipp.kraus@flashpixx.de> |
|---|---|
| Date | 2015-03-12 09:53 +0100 |
| Subject | JFXPanel resizing |
| Message-ID | <mdrceb$2u4q$1@ariadne.rz.tu-clausthal.de> |
[Multipart message — attachments visible in raw view] — view raw
Hello, I'm using a JFXPanel with a WebView component and the docking framework (http://dock.javaforge.com/). The problem is, that the JFXPanel does not resized with the size of the docking window. If I put my JFXPanel to a JDialog the resizing works fine, also If I put a JPanel into the docking window. I try to push the JFXPanel into a JPanel and the JPanel into the docking window, but the JFXPanel and the WebView cannot resized. The WebView show's a fixed sized - a rectangle. I would like to get the solution, that the WebView component is also resized with the size of my docking window, so the WebView has got always equal size (with optional scrolling bars) like the docking window. IMHO I need some resizing event code for my docking window, that changes the JFXPanel size. Can anybody send me a helpful idea? Thanks Phil
[toc] | [next] | [standalone]
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Date | 2015-03-12 09:11 -0400 |
| Message-ID | <mds39g$5th$1@dont-email.me> |
| In reply to | #31312 |
On 03/12/2015 04:53 AM, Philipp Kraus wrote: > Hello, > > > I'm using a JFXPanel with a WebView component and the docking framework > (http://dock.javaforge.com/). > > The problem is, that the JFXPanel does not resized with the size of the > docking window. If I put my JFXPanel to > > a JDialog the resizing works fine, also If I put a JPanel into the > docking window. > > I try to push the JFXPanel into a JPanel and the JPanel into the docking > window, but the JFXPanel and the WebView > > cannot resized. The WebView show's a fixed sized - a rectangle. > > I would like to get the solution, that the WebView component is also > resized with the size of my docking window, so the > > WebView has got always equal size (with optional scrolling bars) like > the docking window. > > IMHO I need some resizing event code for my docking window, that changes > the JFXPanel size. > > > Can anybody send me a helpful idea? > <https://platform.netbeans.org/tutorials/nbm-javafx.html>
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.programmer
csiph-web