Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TTool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
mbe-tools
TTool
Commits
400c75fa
Commit
400c75fa
authored
6 years ago
by
Ludovic Apvrille
Browse files
Options
Downloads
Patches
Plain Diff
Update on crypto conf. dialog window
parent
09ffabfa
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modeling/DIPLODOCUS/SmartCardProtocol.xml
+3046
-3046
3046 additions, 3046 deletions
modeling/DIPLODOCUS/SmartCardProtocol.xml
src/main/java/ui/window/JDialogCryptographicConfiguration.java
+14
-8
14 additions, 8 deletions
...ain/java/ui/window/JDialogCryptographicConfiguration.java
with
3060 additions
and
3054 deletions
modeling/DIPLODOCUS/SmartCardProtocol.xml
+
3046
−
3046
View file @
400c75fa
This diff is collapsed.
Click to expand it.
src/main/java/ui/window/JDialogCryptographicConfiguration.java
+
14
−
8
View file @
400c75fa
...
...
@@ -269,16 +269,18 @@ public class JDialogCryptographicConfiguration extends JDialogBase implements Ac
}
private
void
addEmptyLine
(
GridBagConstraints
gc
)
{
gc
.
weighty
=
1.0
;
gc
.
weightx
=
1.0
;
gc
.
gridwidth
=
GridBagConstraints
.
REMAINDER
;
//end row
gc
.
fill
=
GridBagConstraints
.
BOTH
;
gc
.
gridheight
=
1
;
add
(
new
JLabel
(
" "
),
gc
);
}
public
class
EncryptPanel
extends
JPanel
{
private
void
addEmptyLine
(
GridBagConstraints
gc
)
{
gc
.
weighty
=
1.0
;
gc
.
weightx
=
1.0
;
gc
.
gridwidth
=
GridBagConstraints
.
REMAINDER
;
//end row
gc
.
fill
=
GridBagConstraints
.
BOTH
;
gc
.
gridheight
=
1
;
add
(
new
JLabel
(
" "
),
gc
);
}
EncryptPanel
(
JDialogCryptographicConfiguration
j
){
GridBagConstraints
c1
=
new
GridBagConstraints
();
GridBagLayout
gridbag1
=
new
GridBagLayout
();
...
...
@@ -338,6 +340,8 @@ public class JDialogCryptographicConfiguration extends JDialogBase implements Ac
c1
.
gridwidth
=
GridBagConstraints
.
REMAINDER
;
//end row
add
(
texts
[
7
],
c1
);
addEmptyLine
(
c1
);
c1
.
gridwidth
=
1
;
add
(
new
JLabel
(
"Nonce"
),
c1
);
helps
.
put
(
5
,
new
JComboBox
<>(
nonces
));
...
...
@@ -352,6 +356,8 @@ public class JDialogCryptographicConfiguration extends JDialogBase implements Ac
texts
[
5
]=
new
JTextField
(
values
[
5
],
15
);
add
(
texts
[
5
],
c1
);
addEmptyLine
(
c1
);
c1
.
gridwidth
=
1
;
add
(
new
JLabel
(
"Encrypted Key"
),
c1
);
helps
.
put
(
8
,
new
JComboBox
<>(
keys
));
...
...
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