Problem
ASCommon interface already defines shared UI constants (largeFONT,
labelFONT, mediumFONT, buttonBGColor etc.) but multiple panels
ignore them and declare inline values directly:
UIPanel.java — 6 inline Font declarations using "Tahoma" font
family, inconsistent with ASCommon which uses "Arial" throughout.
SessionGUI.java — redefines labelFONT locally, shadowing ASCommon.
VisualizationPanel.java — redefines buttonBGColor locally with the
same value already defined in ASCommon.
FeaturePanel.java — 3 inline Font declarations.
ViewFilterOutputPanel.java — 4 inline Font declarations.
FilterPanel.java — 2 inline Color declarations.
Impact
- Font inconsistency —
UIPanel uses Tahoma while all other panels
use Arial, creating a visually inconsistent UI
- Maintenance burden — a font or color change requires editing
multiple files instead of one
- Risk of divergence — locally redefined constants can silently
drift from the shared values over time
Proposed Fix
- Extend
ASCommon with a complete, well-documented set of UI constants
- Replace all inline
Font and Color declarations with shared constants
- This makes the entire UI consistent and maintainable from one place
Related
Directly aligned with the GSoC 2026 goal of consistent visual
design across all UI panels.
Problem
ASCommoninterface already defines shared UI constants (largeFONT,labelFONT,mediumFONT,buttonBGColoretc.) but multiple panelsignore them and declare inline values directly:
UIPanel.java— 6 inlineFontdeclarations using"Tahoma"fontfamily, inconsistent with
ASCommonwhich uses"Arial"throughout.SessionGUI.java— redefineslabelFONTlocally, shadowingASCommon.VisualizationPanel.java— redefinesbuttonBGColorlocally with thesame value already defined in
ASCommon.FeaturePanel.java— 3 inlineFontdeclarations.ViewFilterOutputPanel.java— 4 inlineFontdeclarations.FilterPanel.java— 2 inlineColordeclarations.Impact
UIPanelusesTahomawhile all other panelsuse
Arial, creating a visually inconsistent UImultiple files instead of one
drift from the shared values over time
Proposed Fix
ASCommonwith a complete, well-documented set of UI constantsFontandColordeclarations with shared constantsRelated
Directly aligned with the GSoC 2026 goal of consistent visual
design across all UI panels.