Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Diffractometer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Software Control System
Gui
Diffractometer
Commits
0cb6f4b9
Commit
0cb6f4b9
authored
Feb 28, 2017
by
Tassadit Leroul
Committed by
Patrick MADELA
Aug 12, 2021
Browse files
Options
Downloads
Patches
Plain Diff
CTRLDIFFRA-21
Class PreferenceFrame , "Default Exeeded gap "
parent
4d6b9fa8
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
capoeira/src/main/java/fr/soleil/gui/capoeira/preferences/PreferencesFrame.java
+185
-186
185 additions, 186 deletions
.../fr/soleil/gui/capoeira/preferences/PreferencesFrame.java
with
185 additions
and
186 deletions
capoeira/src/main/java/fr/soleil/gui/capoeira/preferences/PreferencesFrame.java
+
185
−
186
View file @
0cb6f4b9
...
@@ -69,7 +69,6 @@ public class PreferencesFrame extends JDialog {
...
@@ -69,7 +69,6 @@ public class PreferencesFrame extends JDialog {
@Override
@Override
public
void
actionPerformed
(
final
ActionEvent
e
)
{
public
void
actionPerformed
(
final
ActionEvent
e
)
{
PreferencesFrame
.
this
.
dispose
();
PreferencesFrame
.
this
.
dispose
();
}
}
});
});
p
.
add
(
closeButton
);
p
.
add
(
closeButton
);
...
@@ -95,16 +94,16 @@ public class PreferencesFrame extends JDialog {
...
@@ -95,16 +94,16 @@ public class PreferencesFrame extends JDialog {
}
}
private
void
setReflectionsPreferencePanel
()
{
private
void
setReflectionsPreferencePanel
()
{
final
JPanel
p
=
new
JPanel
();
final
JPanel
refPanel
=
new
JPanel
();
p
.
setBorder
(
BorderFactory
.
createTitledBorder
(
"Reflection preference"
));
refPanel
.
setBorder
(
BorderFactory
.
createTitledBorder
(
"Reflection preference"
));
final
Label
gapLabel
=
new
Label
();
final
Label
gapLabel
=
new
Label
();
gapLabel
.
setText
(
"
E
xceeded gap : "
);
gapLabel
.
setText
(
"
Default e
xceeded gap : "
);
p
.
add
(
gapLabel
,
BorderLayout
.
CENTER
);
refPanel
.
add
(
gapLabel
,
BorderLayout
.
CENTER
);
final
AutoScrolledTextField
gapTextField
=
new
AutoScrolledTextField
();
final
AutoScrolledTextField
gapTextField
=
new
AutoScrolledTextField
();
gapTextField
.
setColumns
(
10
);
gapTextField
.
setColumns
(
10
);
gapTextField
.
setText
(
this
.
getControlBean
().
getLPSModel
().
getGap
().
toString
());
gapTextField
.
setText
(
this
.
getControlBean
().
getLPSModel
().
getGap
().
toString
());
p
.
add
(
gapTextField
,
BorderLayout
.
CENTER
);
refPanel
.
add
(
gapTextField
,
BorderLayout
.
CENTER
);
gapTextField
.
getDocument
().
addDocumentListener
(
new
DocumentListener
()
{
gapTextField
.
getDocument
().
addDocumentListener
(
new
DocumentListener
()
{
private
void
updateData
()
{
private
void
updateData
()
{
...
@@ -138,7 +137,7 @@ public class PreferencesFrame extends JDialog {
...
@@ -138,7 +137,7 @@ public class PreferencesFrame extends JDialog {
// NOT USE
// NOT USE
}
}
});
});
this
.
getContentPane
().
add
(
p
);
this
.
getContentPane
().
add
(
refPanel
);
}
}
private
void
setUrlHelpPanel
()
{
private
void
setUrlHelpPanel
()
{
...
...
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