Hi all, It seems the latest release version 3.2 has a big issue. Under Windows 10, it even can't open. Under OS X 10.11.6, It will open but will keep showing "Could not save the Preferences file" which is really annoying and I can't change the preference of Processing. Hope it can be fixed soon!
Problem of the new 3.2 release
uninstall
I had version 3.12 but have upgraded to version 3.2. please let me know how to uninstall previous version
GUI elements dissapear and re-appear with mouse hover.
Hi everyone. I literally just installed processing 3.2 for the first time. I'm new to the processing environment, but know a bit of java (not important). Before before i even started coding, I found that when i moved the mouse over different objects in the Processing application(file menu, buttons etc ), they would disappear and reappear as I hovered. I thought it might be version related, so i have also tried installing 3.1.2, and 2.2.1, which all do the same thing. It has to be a windows 10 thing surely, and I'll try a virtual machine with win8 or win7. But i was curious if anyone else had experienced this? Or if anyone had any ideas on what I could try, if anything?
This is a screenshot I captured to better explain what is happening https://1drv.ms/i/s!ArrIBuC_hHAKkF-hPupSr-OQPrqV
Thanks
How can I make processing run faster?
On a project i'm working on currently processing 2 is running terribly slow. Is there a way to increase RAM being used? Thanks in advance for your help.
Processing 3.1.1 menu fonts look ugly (thin and no antialiasing) - can this be changed ?
Is there a way to make the menu fonts of the PDE look better? This looks ugly and is difficult to read because of no antialiasing. I am aware of the settings in the "preferences" menu, but these only apply to console and editor fonts.
Processing 2.2.1 can't start in Mac OSX El Capitan, Java 8
Hey guys. I installed Processing 2.2.1 in my mac, OSX El Capitan, Java 8. The processing icon just jump several times and then disappear! It won't start. Processing 3.2.1 works fine. But I want to open some sketches that wrote in Processing 2. Those sketches doesn't work well in Processing 3.2.1. I opened Processing 2.2.1 successfully once by accident and I don't know why... Now I opened Processing 2.2.1 again and again, uninstall and install, but the icon just jump and disappear !
Can anyone help? Thanks!!!
How to change the ICON of Processing application
https://forum.processing.org/one/topic/how-to-change-the-icon-of-the-app.html
gone through above link for my problem using suggested code able to change the TITLE but not the ICON . can any one tell what should be the dimension of ICON image or is there any other way of doing it.
Autostart minimized
Is there any way to start a processing .exe file minimized? Have tried shortcut alternatives (windowed mode in preferences and /minimized path extension) any ideas are good ideas at this point :)
Processing IDE and java vs Eclipse or Netbeans
Hi!
I have been using processing for many years and are now starting learn more java. In my course we are using NetBeans. I wounder are there any advantages of starting to code processing sketches in NetBeans or Eclipse instead of Processing. For example if I want to integrate a processing sketch in a pure java sketch.
What advantages could there be of switching the IDE from Processing to NetBeans or Eclipse?
I have integrated processing into netbeans by using these following steps. Posting it here if it could help anyone.
1) Create new java project
2) Copy the files in ”contents/Resources/Java/core/library” to a new folder called for example ”_ProcessingLibraries”
3) Right click ”Libraries” in your project in NetBeans and choose ”Add folder/library” and select and add all the jarfiles
4) Create a new java class and call it for example ”MySketch”
5) Write in MySketch class:
package pkg6_processing;
import processing.core.*; // import the processing core
public class MySketch extends PApplet { // extend the PApplet for inherit all
@ Override
public void settings() {
size(300, 300);
}
@ Override
public void setup() {
fill(120, 50, 240);
}
@ Override
public void draw() {
ellipse(mouseX, mouseY, 20, 20);
}
}
6) Run the PApplet in the main class
package pkg6_processing;
public class Main {
public static void main(String[] args) {
MySketch.main("pkg6_processing.MySketch"); // run the applet in main
}
}
Processing and embedding support for Java with Java FX
Hi,
after a lot of digging and hassle I'm now almost struggling for a week trying to integrate the last processing 3.0b7 like mentioned in the comment into my JavaFx Swing GUI.
I did not succeed so far unfortunately. Could somebody here provide me help regarding this and post a small hello world example. Basically what I need is the P3D Renderer running in a JavaFX Composite.
What is the forecast to bring back the embedding feature into Processing. Are there any steps which are already done or is it far down on your todo list?
Include own examples
Hello, I teach programming in school with processing and the pupils are quite happy with it!
In the next course I would like to include some of my templates in the IDE itself, for instance in a seperate folder in the example dialogue. I copied some pde-files to …/modes/java/examples
, but nothing showed up. Is there any way to get it working?
Thanks, and greetings from Germany – Josef
High DPI displays / Microsoft Surface
When opening Processing (3.0, 3.0.1, 3.0.2) on a Microsoft Surface the program is displayed in a very small scaled window. This problem is not present in other Windows 10 installations I have. It appears to be unique to the high resolution of the display. I have confirmed that the system wide display scaling does not scale this up as it should when running different compatibility modes. The initial banner will actually be scaled, but the internal fonts of the menu, line numbering, and console are not increased. Increasing the two font values in the editor preferences does not help either. Any thoughts? Essentially I think I'm running into issues with a high res or 'retina' port of the application. This may be a Java dependency though.
P2D now slow, even on an empty sketch, wasn't so slow before
Hi, This morning I could run a particle system sketch with size(displayWidth, displayHeight, P2D) at 60fps. Now, even an empty sketch (just 1 line in draw to display frameRate, size in setup with the same arguments), run around 30 fps. I install new drivers for my graphic card, reboot computer, nothing runnning behind... Any clues? Thanks!
Debug mode: no breakpoints under Mac OS X El Capitan?
I've installed Processing 3.2.1 on a Mac Pro 2013 Trashcan running Mac OS X El Capitan 10.11.6. Everything works fine except debugging mode.
In debug mode, I can set breakpoints by clicking on the code line number, but even on simplistic sketches there I know that the code line is being executed (e.g. a println to console), the debugger fails to break out and display variables.
Is there some additional step(s) that I need to do? Apologies in advance if this is covered elsewhere on the forum and/or the wiki, but I've not been able to find it.
EDIT: Oh...I forgot to add that I do have Xcode installed -- I installed it after I installed Processing, should that be relevant.
Thanks Andy
Same code works with Processing 2 and fails with Processing 3
Hello all,
I'm currently using, in parallel, two releases of Processing: processing-2.2.1-windows32 and processing-3.1.1-windows64. What I have recently faced - is the situation when 2nd version works, whereas the 3rd version gives an error message ``Found a { that's missing a matching }''. Does anyone has any ideas of the possible reasons?
Both compilers I'm using highlight the opposite curly brackets, and both versions do it as I wish.
Usually, I prefer not to ask anyone read my code, especially since it's long and not well structured - but this time I don't know what part of the code might be producing the trouble, so that to provide minimal working example. I've uploaded the full text here.
I suppose that the problem is somewhere else than the number of { and }. Is it related to the apache package (but it doesn't happen always when this package is used).
Problem while trying to get the sketchbook
Hello,
Having downloaded Processing 3.8 on Windows 7, opening the .exe file for the first time gives the error:
'Problem while trying to get the sketchbook'
The program doesn't run, and I can't find a sketchbook folder anywhere.
I've run the launch4j log file, and it gives the following:
Version: 3.8
CmdLine: c:\processing-3.2.1\processing.exe --l4j-debug
WOW64: yes
Working dir: c:\processing-3.2.1\.
Bundled JRE: java
Check launcher: c:\processing-3.2.1\java\bin\javaw.exe (OK)
Heap -Xmx: Requested 256 MB / 0%, Available: 2205 MB, Heap size: 256 MB
Substitute: EXEDIR = c:\processing-3.2.1
Add classpath: lib\pde.jar
Add classpath: core\library\core.jar
Add classpath: lib\jna.jar
Add classpath: lib\jna-platform.jar
Add classpath: lib\antlr.jar
Add classpath: lib\ant.jar
Add classpath: lib\ant-launcher.jar
Launcher: c:\processing-3.2.1\java\bin\javaw.exe
Launcher args: -Xmx256m -Djava.ext.dirs="c:\processing-3.2.1\\java\\lib\\ext" -Djna.nosys=true -Djna.boot.library.path=lib -Djna.nounpack=true -classpath "lib;lib\pde.jar;core\library\core.jar;lib\jna.jar;lib\jna-platform.jar;lib\antlr.jar;lib\ant.jar;lib\ant-launcher.jar" processing.app.Base
Args length: 278/32768 chars
Exit code: 259
Thanks in advance for any help.
How to Recover a Sketch That Was Not Saved When Windows Crashes
Note that I am asking this question as a way of posting an answer.
In a Windows 7 environment running Processing 2.x, I was working on a sketch for a while and had never saved it when my computer experienced a blue screen of death (I later determined the crash to have been caused by newly installed Bitdefender Total Security product). My question is how do I recover my sketch?
How do I change fonts on I3? Please and thank you
Do I have to use all the text syntax or just a few?
Tweak mode behavior with class
Hello, I wrote the following code:
class A {
int x = 123;
}
A a = new A();
void setup() {
size(100, 100);
background(0);
text(a.x, 50, 50);
}
This produces text '123' at the almost center of the window in normal run, but produces '0' in tweak mode. Is this expected behavior?
I am using 3.2.1 on Mac.
Thanks,
Processing's Background Does not Change when Using Dark Theme
I installed the theme from this forum post (https://forum.processing.org/two/discussion/11755/install-dark-theme-in-your-processing), and it does not cause the background of the code editor to turn black (but the rest of it works fine). I also encountered issues changing the background when using the Font Highlighting Editor tool. How do I fix this problem?