pack();
}// </editor-fold>//GEN-END:initComponents
private void typeBoxItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_typeBoxItemStateChanged
final EventBlocType currentEventType = (EventBlocType) typeBox.getSelectedItem();
switch (currentEventType) {
case ON:
activeAll();
playerPosition = false;
currentPanel = eventModel.getOnScreen();