Recent Forum Posts
From categories:
page »

Accessibility is a requirement and not just a nice to have feature. Organizations and open source projects alike realize that they could be unintentionally locking people with different abilities out of their products. We need to think about how we program our product and the documentation so that we can optimize for others success.
Business case
1. Better SEO, and usability
2. Positive coding practices
3. Comply with any legal standards or regulations

PS: Would like to quote stackoverflow survey One out of every 200 is hard of sight.

Please let me know if this is something that interests you.

Alain Bélanger (guest) 03 Jun 2018 09:15
in discussion Kojo / Support » Cannot run Kojo

Wow merci beaucoup

Tout fonctionne à merveille.

by Alain Bélanger (guest), 03 Jun 2018 09:15
lalitplalitp 03 Jun 2018 00:10
in discussion Kojo / Support » Cannot run Kojo

Ah, please run Kojo with Java 8. To do so, just modify the java line in $KOJO_HOME/bin/kojo to point to your java 8 install.

You can get Java 8 from Oracle, IntelliJ, or from Ubuntu repos.


by lalitplalitp, 03 Jun 2018 00:10
Alain Bélanger (guest) 02 Jun 2018 23:55
in discussion Kojo / Support » Cannot run Kojo

I got this message when i try to lunch kojo2 on kubuntu 18.04.

Exception in thread "main" java.lang.ExceptionInInitializerError
at net.kogics.kojo.lite.DesktopMain.main(DesktopMain.scala)
Caused by: java.lang.RuntimeException: classloader (jdk.internal.loader.ClassLoaders$AppClassLoader@255316f2) is not a URLClassLoader
at scala.sys.package$.error(package.scala:27)
at net.kogics.kojo.lite.DesktopMain$.<init>(DesktopMain.scala:23)
at net.kogics.kojo.lite.DesktopMain$.<clinit>(DesktopMain.scala)
… 1 more

Thank you for your hard work.

by Alain Bélanger (guest), 02 Jun 2018 23:55
jackywornejackyworne 25 Apr 2018 09:16
in discussion Kojo / Code Exchange » Beginning on Kojo

PSD conversion plays a vital role in building a handsome WordPress based site. We have tried to give you the basic ideas to have to regard in mind when you convert any PSD to WordPress theme. Hopefully you will like it. If you liked this blog please feel free to share it with your dearest ones.
PSD to Wordpress Expert

by jackywornejackyworne, 25 Apr 2018 09:16

I'm considering how to I could contribute to Kojo, maybe translatingo some examples in italian, but I'm wondering how to find the underlying code to traslate.

I see that the interface is translated in Italian but the exaples not.

I'm using kojo 2.4.12 for Linux - and have access to a not blleding edge computer.

TIA and Regards

Carlo D.

Contributing to kojo - translations by Carloo Dormeletti (guest), 17 Jan 2018 08:44
Thanks to Lalit
lotollotol 20 Sep 2017 17:21
in discussion Kojo / Kojo-Dev » geogebra with kojo

You need to reply for the previous post.

I am impressed by your project. I would wish Kojo to be used in every school.

Thanks to Lalit.

Thanks to Lalit by lotollotol, 20 Sep 2017 17:21
weonkyoung yu (guest) 20 Sep 2017 14:34
in discussion Kojo / Kojo-Dev » geogebra with kojo

Thank you for your prompt reply.

I have another question.

I am a math teacher in senior high school. In Kojo, Would it be possible to script number theory, mathematical modeling and so on?

by weonkyoung yu (guest), 20 Sep 2017 14:34

Yes, you can programatically control geogebra from Kojo via scala scripts. The bridge is the Mw object in Kojo.

For example, try this script:

Mw.variable("m", 1, -5, 5, 0.1, 50, 50)
Mw.variable("c", 0, -2, 2, 0.1, 50, 80)
Mw.evaluate("y = m x + c")

To see more examples, look (in the script editor) at the scripts for Help -> Kojo Overview and Samples -> Math Learning Modules -> Solving Linear Equations (run these scripts, and then search for Mw. in the script editor)

Code completion on the Mw object (type Mw. and then Ctrl+Space) will show you what's available for geogebra interaction.

Or you can look at the Mathworld class (of which the above Mw is an instance) to see what's inside in more detail:

Hope that helps. Feel free to ask more questions.

Re: geogebra with kojo by lalitplalitp, 20 Sep 2017 13:36
geogebra with kojo
weonkyoung Yu (guest) 20 Sep 2017 12:21
in discussion Kojo / Kojo-Dev » geogebra with kojo

In gegogebra, constructions and computations can be done using input filed command, ggbscript and javascript.
Can I do the same thing with kojo script

geogebra with kojo by weonkyoung Yu (guest), 20 Sep 2017 12:21

Yes you can, after liberating your student's machines: ChromeOS is actually prepared for running a Linux Ubuntu subsystem! Programming is all about controlling your computer so when teaching programming it makes perfect sense to unlock your Chromebook and use developer mode and then install what is called "Crouton" on your Chromebook.

Here is one of many guides on the net on how to do that:

The you install Java with this terminal command in your Ubuntu subsystem:

sudo apt-get install default-jdk

And then install Kojo as described for Linux on the Kojo download page. And ready to go!

BTW: This means that the sysadmin of your school should support your very important pedagogical ambitions in allowing your students to do "real" programing! :)

Hope this helped?

Good luck!

Kojo och chrombooks
Annamaria Kadir (guest) 24 Aug 2017 06:50
in discussion Kojo / Support » Kojo och chrombooks

Mina elever har chromebooks. Går det att jobba med Kojo?

Kojo och chrombooks by Annamaria Kadir (guest), 24 Aug 2017 06:50

The question in English: "Is it possible to run Kojo on a Chromebook with ChromeOS, and if so how to do it?"

Yes, it is possible but requires that you enable developer mode, and you then can install crouton via commands in a terminal window as explained here:

After that you can install openjdk using this command in terminal:

sudo apt-get install openjdk-8-jre

and then download and run the kojo jar-file from terminal using this command:

java -jar xxx.jar

where xxx.jar is replaced by the name of the downloaded kojo jar-file from here:

If you have problems, your IT-department should be able to help you with the installation.
Good luck!

Kojo på en chromebook
Ann-Catherine Sjöberg (guest) 12 May 2017 06:55
in discussion Kojo / Kojo-User-Sweden » Kojo på en chromebook

Kojo ska kunna köras på web, men är det överhuvudtaget möjligt på en chromebook.
Om det går isåfall hur går man tillväga?

Kojo på en chromebook by Ann-Catherine Sjöberg (guest), 12 May 2017 06:55
lalitplalitp 05 Feb 2016 18:31
in discussion Kojo / Support » Kojo in DiDPI monitor

I have started to play with this, and I have a new Kojo-Web build out there ( Let me know if you see any font size improvements with this build.

by lalitplalitp, 05 Feb 2016 18:31
Re: Msi-file
lalitplalitp 24 Nov 2015 05:50
in discussion Kojo / Support » Msi-file

Sorry, we currently only have an exe installer. Is there a problem with using the exe installer? Or is it an IT policy thing?

Re: Msi-file by lalitplalitp, 24 Nov 2015 05:50
AnnP (guest) 23 Nov 2015 17:33
in discussion Kojo / Support » Msi-file

I would like to use Kojo with my pupils at school. Our IT-support wants a msi-file so that they can install Kojo with UpKeeper. Can anyone help me to find a msi-file?

Msi-file by AnnP (guest), 23 Nov 2015 17:33

import javax.swing.WindowConstants

DISPOSE_ON_CLOSE is defined in WindowConstants. JFrame implements WindowConstants, but DISPOSE_ON_CLOSE is not visible via JFrame in Scala (can't remember why off the top of my head).

Re: javax.swing question by lalitplalitp, 22 Oct 2015 15:45
javax.swing question
Anthony (guest) 22 Oct 2015 13:35
in discussion Kojo / Support » javax.swing question

I'm goofing around using Kojo to explore different things, and wanted to explore Swing. Having a problem because Frame.DISPOSE_ON_CLOSE is claimed not to be a member of java.swing.JFrame? No problem with EXIT_ON_CLOSE but I don't want to use that, because Kojo gets killed every time I close the window.

import java.awt.Graphics
import java.awt.image.BufferedImage

import javax.swing.JComponent
import javax.swing.JFrame

val frame: JFrame = new JFrame("Fractal")

Results in:

Error[9,39]: value DISPOSE_ON_CLOSE is not a member of object javax.swing.JFrame

I realise Kojo isn't necessarily meant to be used in this way, but for my better understanding, I am curious why DISPOSE_ON_CLOSE doesn't show up!

javax.swing question by Anthony (guest), 22 Oct 2015 13:35
samyem (guest) 20 Oct 2015 12:48
in discussion Kojo / Support » Kojo in DiDPI monitor

Both of these IDEs have customized themes; netbeans is closer to the default windows look and feel but it is not the standard one that ships with Swing.

by samyem (guest), 20 Oct 2015 12:48
page »
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License