Refactor block constants into frontend.swing.Constants