Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
J
jadx
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open-source
jadx
Commits
b587b6d6
Commit
b587b6d6
authored
Sep 01, 2018
by
Skylot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(gui): use correct font and style for certificate panel
parent
bc3af8e6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
12 deletions
+17
-12
CertificatePanel.java
jadx-gui/src/main/java/jadx/gui/ui/CertificatePanel.java
+17
-12
No files found.
jadx-gui/src/main/java/jadx/gui/ui/CertificatePanel.java
View file @
b587b6d6
...
...
@@ -3,21 +3,26 @@ package jadx.gui.ui;
import
javax.swing.*
;
import
java.awt.*
;
import
org.fife.ui.rsyntaxtextarea.RSyntaxTextArea
;
import
jadx.gui.treemodel.JNode
;
public
class
CertificatePanel
extends
ContentPanel
{
CertificatePanel
(
TabbedPane
panel
,
JNode
jnode
)
{
super
(
panel
,
jnode
);
setLayout
(
new
BorderLayout
());
JTextArea
textArea
=
new
JTextArea
(
jnode
.
getContent
());
textArea
.
setFont
(
textArea
.
getFont
().
deriveFont
(
12
f
));
// will only change size to 12pt
JScrollPane
sp
=
new
JScrollPane
(
textArea
);
add
(
sp
);
}
public
final
class
CertificatePanel
extends
ContentPanel
{
private
static
final
long
serialVersionUID
=
8566591625905036877L
;
@Override
public
void
loadSettings
()
{
private
final
RSyntaxTextArea
textArea
;
CertificatePanel
(
TabbedPane
panel
,
JNode
jnode
)
{
super
(
panel
,
jnode
);
setLayout
(
new
BorderLayout
());
textArea
=
new
RSyntaxTextArea
(
jnode
.
getContent
());
loadSettings
();
JScrollPane
sp
=
new
JScrollPane
(
textArea
);
add
(
sp
);
}
}
@Override
public
void
loadSettings
()
{
CodeArea
.
loadCommonSettings
(
getTabbedPane
().
getMainWindow
(),
textArea
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment