Skip to content

Instantly share code, notes, and snippets.

View kevinrushforth's full-sized avatar

Kevin Rushforth kevinrushforth

View GitHub Profile
@kevinrushforth
kevinrushforth / simple.md
Created January 6, 2024 14:51
Simple markdown file

This is a simple markdown file

Click on the following to go to the GitHub openjdk/jfx repo.

Hello

This is some bold text and some italicized text.

Summary

Provide the ability for scrollable controls to use the preferred width or height of their content as their preferred size, completely disabling horizontal or vertical scrolling. The set of controls being targeted are: ScrollPane, TextField, and WebView.

Goals

  • Enable laying out multiple controls next to each other, possibly in an enclosing ScrollPane, without each of the controls having a separate scrollbar
  • Provide separate control for horizontal and vertical scrolling
  • Preserve the current default behavior of being able to scroll both vertically and horizontally in scrollable controls
@kevinrushforth
kevinrushforth / ConcurrentStartupTest.java
Created July 31, 2019 15:57
JavaFX system test for concurrent execution of Platform::startup and its Runnable
/*
* Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*