We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpIntegration › eclipse and processing IDE act differently
Page Index Toggle Pages: 1
eclipse and processing IDE act differently ? (Read 1551 times)
eclipse and processing IDE act differently ?
Dec 30th, 2009, 7:05am
 
using elipse as the IDE

Code:
import processing.core.*;
public class test1 extends PApplet{

public void setup(){
size(1024,700,P3D);
}

public void draw(){
background(0);
fill(255, 0, 0);
rect(0, 0, 500, 500);
}

}



same code tried with
size(1024,700,P3D);
and
size(1024,728,P3D);

different outputs . .

link to the screenshots
http://asirisilva.pixa.us/images/18633653/all




processing standard IDE work correctly

can someone explain this ?
problem is with the height parameter
Re: eclipse and processing IDE act differently ?
Reply #1 - Dec 30th, 2009, 10:19am
 
For reference, similar questions asked in can't set size(1024,728,P3D ) and max screen size in 3D mode.

I fear I have no ready answer to the question. If anybody has an idea...
Re: eclipse and processing IDE act differently ?
Reply #2 - Dec 30th, 2009, 10:27am
 
i ran them eclipse and they both worked. have you tried running the project as a application and/or applet and seeing if theres a difference? you can set it through the preferences.
Re: eclipse and processing IDE act differently ?
Reply #3 - Dec 30th, 2009, 10:53am
 


both worked ?
i am running as a applet..(no main method in ma project file)

can u try increasing the height parameter .(728 might not be the crashing height value in ur computer)

becos i think its kinda of a bug..
i tried in ubuntu and windows 7.. in those OSs limits r different.. the rectagle misplaces at different heights..
Re: eclipse and processing IDE act differently ?
Reply #4 - Dec 30th, 2009, 11:06am
 
thanks alot ekene.. it worked.
problem arises when im trying to run the project as a java applet.
when i select to run the project as a java application.. it workd  Smiley .

thanks alot again


that applet issue is questionable though.
Page Index Toggle Pages: 1