Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Snake
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dlw-9ak-u1
Snake
Commits
c62f3f32
Commit
c62f3f32
authored
6 years ago
by
dlw-9ak-u1
Browse files
Options
Downloads
Patches
Plain Diff
Add new file
parents
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
ContentFrame.java
+20
-0
20 additions, 0 deletions
ContentFrame.java
with
20 additions
and
0 deletions
ContentFrame.java
0 → 100644
+
20
−
0
View file @
c62f3f32
import
javafx.geometry.Pos
;
import
javafx.scene.Node
;
import
javafx.scene.layout.StackPane
;
import
javafx.scene.paint.Color
;
import
javafx.scene.shape.Rectangle
;
public
class
ContentFrame
extends
StackPane
{
public
ContentFrame
(
Node
content
)
{
setAlignment
(
Pos
.
CENTER
);
Rectangle
frame
=
new
Rectangle
(
200
,
200
);
frame
.
setArcWidth
(
25
);
frame
.
setArcHeight
(
25
);
frame
.
setStroke
(
Color
.
WHITESMOKE
);
getChildren
().
addAll
(
frame
,
content
);
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment