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
2bacab7d
Commit
2bacab7d
authored
Dec 21, 2014
by
YASME-Tim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed old less-warnings branch commit changes.
parent
824db6be
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
8 deletions
+6
-8
JNode.java
jadx-gui/src/main/java/jadx/gui/treemodel/JNode.java
+0
-1
JRoot.java
jadx-gui/src/main/java/jadx/gui/treemodel/JRoot.java
+1
-1
SearchDialog.java
jadx-gui/src/main/java/jadx/gui/ui/SearchDialog.java
+5
-5
Link.java
jadx-gui/src/main/java/jadx/gui/utils/Link.java
+0
-1
No files found.
jadx-gui/src/main/java/jadx/gui/treemodel/JNode.java
View file @
2bacab7d
...
...
@@ -10,7 +10,6 @@ import javax.swing.Icon;
import
javax.swing.tree.DefaultMutableTreeNode
;
public
abstract
class
JNode
extends
DefaultMutableTreeNode
{
private
static
final
long
serialVersionUID
=
1337L
;
// TODO: Create your own serialvers with serialver/eclipse
public
static
JNode
makeFrom
(
JavaNode
node
)
{
if
(
node
instanceof
JavaClass
)
{
JClass
p
=
(
JClass
)
makeFrom
(
node
.
getDeclaringClass
());
...
...
jadx-gui/src/main/java/jadx/gui/treemodel/JRoot.java
View file @
2bacab7d
...
...
@@ -124,7 +124,7 @@ public class JRoot extends JNode {
}
public
JClass
searchClassInTree
(
JClass
node
)
{
Enumeration
<?>
en
=
this
.
breadthFirstEnumeration
();
Enumeration
en
=
this
.
breadthFirstEnumeration
();
while
(
en
.
hasMoreElements
())
{
Object
obj
=
en
.
nextElement
();
if
(
node
.
equals
(
obj
))
{
...
...
jadx-gui/src/main/java/jadx/gui/ui/SearchDialog.java
View file @
2bacab7d
...
...
@@ -71,7 +71,7 @@ public class SearchDialog extends JDialog {
private
JTextField
searchField
;
private
ResultsModel
resultsModel
;
private
JList
<
Object
>
resultsList
;
private
JList
resultsList
;
private
JProgressBar
busyBar
;
public
SearchDialog
(
Frame
owner
,
TabbedPane
tabbedPane
,
JadxWrapper
wrapper
)
{
...
...
@@ -171,7 +171,7 @@ public class SearchDialog extends JDialog {
}
}
private
static
class
ResultsModel
extends
DefaultListModel
<
Object
>
{
private
static
class
ResultsModel
extends
DefaultListModel
{
private
static
final
long
serialVersionUID
=
-
7821286846923903208L
;
private
void
setResults
(
List
<
JavaNode
>
results
)
{
...
...
@@ -186,7 +186,7 @@ public class SearchDialog extends JDialog {
}
}
private
static
class
ResultsCellRenderer
implements
ListCellRenderer
<
Object
>
{
private
static
class
ResultsCellRenderer
implements
ListCellRenderer
{
private
final
Color
selectedBackground
;
private
final
Color
selectedForeground
;
...
...
@@ -197,7 +197,7 @@ public class SearchDialog extends JDialog {
}
@Override
public
Component
getListCellRendererComponent
(
JList
<?>
list
,
public
Component
getListCellRendererComponent
(
JList
list
,
Object
obj
,
int
index
,
boolean
isSelected
,
boolean
cellHasFocus
)
{
if
(!(
obj
instanceof
JNode
))
{
return
null
;
...
...
@@ -244,7 +244,7 @@ public class SearchDialog extends JDialog {
codeChBox
.
setEnabled
(
false
);
resultsModel
=
new
ResultsModel
();
resultsList
=
new
JList
<
Object
>
(
resultsModel
);
resultsList
=
new
JList
(
resultsModel
);
resultsList
.
setCellRenderer
(
new
ResultsCellRenderer
());
resultsList
.
addMouseListener
(
new
MouseAdapter
()
{
public
void
mouseClicked
(
MouseEvent
evt
)
{
...
...
jadx-gui/src/main/java/jadx/gui/utils/Link.java
View file @
2bacab7d
...
...
@@ -18,7 +18,6 @@ import org.slf4j.LoggerFactory;
import
static
java
.
awt
.
Desktop
.
Action
;
public
class
Link
extends
JLabel
implements
MouseListener
{
private
static
final
long
serialVersionUID
=
0L
;
// TODO: Generate random serialvers with serialver/eclipse
private
static
final
Logger
LOG
=
LoggerFactory
.
getLogger
(
JLabel
.
class
);
private
String
url
;
...
...
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