def METHOD_NAME(self, contentPanel, headerPanel):
    contentSizer = contentPanel.GetSizer()
    parent = self.panel = contentPanel
    self.headerPanel = headerPanel
    panel = "full"
    sizerCapacitor = wx.GridSizer(1, 2, 0, 0)
    contentSizer.Add(sizerCapacitor, 0, wx.EXPAND, 0)
    # Capacitor capacity and time
    baseBox = wx.BoxSizer(wx.HORIZONTAL)
    sizerCapacitor.Add(baseBox, 0, wx.ALIGN_LEFT)
    bitmap = BitmapLoader.getStaticBitmap("capacitorInfo_big", parent, "gui")
    tooltip = wx.ToolTip(_t("Capacitor stability"))
    bitmap.SetToolTip(tooltip)
    baseBox.Add(bitmap, 0, wx.ALIGN_CENTER)
    box = wx.BoxSizer(wx.VERTICAL)
    baseBox.Add(box, 0, wx.ALIGN_LEFT)
    hbox = wx.BoxSizer(wx.HORIZONTAL)
    box.Add(hbox, 0, wx.ALIGN_LEFT)
    hbox.Add(wx.StaticText(parent, wx.ID_ANY, _t("Total: ")), 0, wx.ALIGN_LEFT | wx.LEFT, 3)
    lbl = wx.StaticText(parent, wx.ID_ANY, "0.0")
    setattr(self, "label%sCapacitorCapacity" % panel.capitalize(), lbl)
    hbox.Add(lbl, 0, wx.ALIGN_LEFT)
    hbox.Add(wx.StaticText(parent, wx.ID_ANY, " GJ"), 0, wx.ALIGN_LEFT)
    hbox = wx.BoxSizer(wx.HORIZONTAL)
    box.Add(hbox, 0, wx.ALIGN_LEFT)
    lbl = wx.StaticText(parent, wx.ID_ANY, _t("Lasts "))
    hbox.Add(lbl, 0, wx.ALIGN_LEFT | wx.LEFT, 3)
    setattr(self, "label%sCapacitorState" % panel.capitalize(), lbl)
    lbl = wx.StaticText(parent, wx.ID_ANY, _t("0s"))
    setattr(self, "label%sCapacitorTime" % panel.capitalize(), lbl)
    hbox.Add(lbl, 0, wx.ALIGN_LEFT)
    # Capacitor balance
    baseBox = wx.BoxSizer(wx.HORIZONTAL)
    sizerCapacitor.Add(baseBox, 0, wx.ALIGN_CENTER_HORIZONTAL)
    tooltip = wx.ToolTip(_t("Extra stats"))
    bitmap = BitmapLoader.getStaticBitmap("capacitorRecharge_big", parent, "gui")
    bitmap.SetToolTip(tooltip)
    baseBox.Add(bitmap, 0, wx.ALIGN_CENTER)
    # Delta
    chargeSizer = wx.BoxSizer(wx.VERTICAL)
    baseBox.Add(chargeSizer, 0, wx.ALIGN_CENTER)
    lbl = wx.StaticText(parent, wx.ID_ANY, "0 GJ/s")
    setattr(self, "label%sCapacitorDelta" % panel.capitalize(), lbl)
    chargeSizer.Add(lbl, 0, wx.ALIGN_CENTER)
    # Resists
    lbl = wx.StaticText(parent, wx.ID_ANY, "0%")
    setattr(self, "label%sCapacitorResist" % panel.capitalize(), lbl)
    chargeSizer.Add(lbl, 0, wx.ALIGN_CENTER)