mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
GP-5523: Allow tool-wide configuration of radix for displaying trace times.
This commit is contained in:
parent
92e2b6b5d4
commit
004712026b
38 changed files with 751 additions and 246 deletions
|
@ -4,9 +4,9 @@
|
|||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
|
@ -161,9 +161,9 @@ public class GTableCellRenderer extends AbstractGCellRenderer implements TableCe
|
|||
boolean hasFocus = data.hasFocus();
|
||||
Settings settings = data.getColumnSettings();
|
||||
|
||||
if (value instanceof Number) {
|
||||
if (value instanceof Number n) {
|
||||
setHorizontalAlignment(SwingConstants.RIGHT);
|
||||
setText(formatNumber((Number) value, settings));
|
||||
setText(formatNumber(n, settings));
|
||||
}
|
||||
else {
|
||||
setText(getText(value));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue