Skip to content

Instantly share code, notes, and snippets.

View k33ptoo's full-sized avatar
💻
Anything frontend & Kotlin

Amos Chepchieng k33ptoo

💻
Anything frontend & Kotlin
View GitHub Profile
@k33ptoo
k33ptoo / CustomTitleBar.java
Last active October 31, 2019 12:47
Check if User is using another OS switch Java Swing Titlebar
if (OSUtils.getOSType() == OSUtils.OSType.MacOS) {
pnlTop.remove(pnlTitle);
pnlTop.remove(pnlRight);
pnlTop.add(pnlTitle, BorderLayout.EAST);
pnlTop.add(pnlActions, BorderLayout.WEST);
pnlActions.remove(lblClose);
pnlActions.remove(lblMaximize);
pnlActions.remove(lblMinimize);
@k33ptoo
k33ptoo / BunifuCharts.cs
Last active April 27, 2021 04:33
Bunifu Charts Overall Rendering Code
/*
* A Bunifu Charts Get Started code
* Copyright 2021 Bunifu Framework.
*/
public static void renderBarchart(Bunifu.Charts.WinForms.BunifuChartCanvas bunifuChartCanvas)
{
Bunifu.Charts.WinForms.ChartTypes.BunifuBarChart bunifuBarChart = new Bunifu.Charts.WinForms.ChartTypes.BunifuBarChart();
/*
* For this example we will use random numbers