Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Athen
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
kallimachos
Athen
Commits
2827be16
There was a problem fetching the pipeline summary.
Commit
2827be16
authored
7 years ago
by
tu
Browse files
Options
Downloads
Patches
Plain Diff
changed editmetadatadialog size; fixed macOS bug
parent
8ce86b82
No related branches found
Branches containing commit
No related tags found
1 merge request
!66
changed editmetadatadialog size; fixed macOS bug
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
de.uniwue.mk.athen/bundles/de.ids.tt.athen.rwview/src/de/ids/tt/athen/rwview/ui/EditMetadataDialog.java
+8
-6
8 additions, 6 deletions
...iew/src/de/ids/tt/athen/rwview/ui/EditMetadataDialog.java
with
8 additions
and
6 deletions
de.uniwue.mk.athen/bundles/de.ids.tt.athen.rwview/src/de/ids/tt/athen/rwview/ui/EditMetadataDialog.java
+
8
−
6
View file @
2827be16
...
...
@@ -23,8 +23,8 @@ public class EditMetadataDialog extends JFrame implements ActionListener {
static
RedeWiedergabeView
part
;
private
JTextField
titleField
=
new
JTextField
(
2
0
);
private
JTextField
authorField
=
new
JTextField
(
2
0
);
private
JTextField
titleField
=
new
JTextField
(
5
0
);
private
JTextField
authorField
=
new
JTextField
(
5
0
);
private
Color
thistle
=
new
Color
(
216
,
191
,
216
);
...
...
@@ -78,7 +78,7 @@ public class EditMetadataDialog extends JFrame implements ActionListener {
||
label
.
getText
().
equals
(
"Textlength"
)
||
label
.
getText
().
equals
(
"SampleID"
)
||
label
.
getText
().
equals
(
"Periodical"
)
||
label
.
getText
().
equals
(
"Name"
)
||
label
.
getText
().
equals
(
"Timestamp"
)
||
label
.
getText
().
equals
(
"Version"
))
{
JTextField
field
=
new
JTextField
(
2
0
);
JTextField
field
=
new
JTextField
(
5
0
);
field
.
setText
(
metadataVal
.
get
(
i
));
field
.
setEditable
(
false
);
field
.
setBackground
(
thistle
);
...
...
@@ -125,7 +125,7 @@ public class EditMetadataDialog extends JFrame implements ActionListener {
}
else
if
(
label
.
getText
().
equals
(
"title"
)
||
label
.
getText
().
equals
(
"Author"
)){
JTextField
field
=
new
JTextField
(
2
0
);
JTextField
field
=
new
JTextField
(
5
0
);
field
.
setText
(
metadataVal
.
get
(
i
));
panel
.
add
(
field
,
constraints
);
}
...
...
@@ -147,13 +147,15 @@ public class EditMetadataDialog extends JFrame implements ActionListener {
}
public
static
void
main
(
String
[]
args
)
{
/*
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
} catch (Exception ex) {
ex.printStackTrace();
}
*/
SwingUtilities
.
invokeLater
(
new
Runnable
()
{
@Override
public
void
run
()
{
...
...
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