Programming, Maker, and Game Design teacher.
I'm trying to run a JavaSwing project and getting the following error: bash -c xset q && DISPLAY=:0 run-project bash: xset: command not found Here's
JasonSidell After further research it seems that the Ubuntu VM in Repl.it is missing a package needed for this to run. I have tried to install the package myself using apt-get install x11-xserver-utils but we don't have root access. Is this something the Repl.it devs need to fix or is there a way to install packages in our personal vm?2 years ago
InvisibleOne Maybe this will help: https://askubuntu.com/questions/526649/xset-startup-command-not-running-on-startup 2 years ago
I teach a high school computer programming class and we use Java. Is it possible to write graphical programs that run in the browser using Java in Rep
KyleTower1 You may use the StdDraw.java library by following this tutorial: https://www.youtube.com/watch?v=afv3lAJgsag10 months ago
k9chelsea2 as prementioned im suire [Java Swing] (https://docs.oracle.com/javase/8/docs/technotes/guides/swing/index.html) would be a good option, if you go onto the new repl tab and pick a language, java swing should come up.2 years ago
RYANTADIPARTHI it is possible, but it's rare. You can use it with frontend. like HTML, css, and java.2 years ago
Reward for a task starts at $0.01 for the first week. Each consecutive week the task is completed the reward amount doubles. Enter the number of wee
•3 years ago
I am wondering if there is a way to create a custom folding region. I want to be able to collapse my Setters and Getters and other sections of code.
gaiadin It depends on the language. Python determines folds by indentation. So you can use a comment one indentation short of the code you want to fold and it will create a fold point that will include any code on the same indentation. C# has something called regions which allow you to set up foldable regions: #region #endregion to close the block This comment section is terrible. Imagine the .'s as spaces and no () around the (#) Python: ..(#) comment label for folded code ....folded code here ....thi2 years ago
Highwayman I don’t think you can. Maybe try putting them in another block of some sort like give them a unique indentation?3 years ago