We are about to switch to a new forum software. Until then we have removed the registration on this forum.
The title text of the window is change using
frame.setTitle("CIOM Serial COM Interface");
Is there a way to change the default Icon to desire Icon?
PImage icon = loadImage("icon.png");
Processing gives error "Cannot find anything named surface"
You're using Processing v2.x? This is with P3.
I am using Processing v2.2.1
Try out frame.setIcon(icon); instead. Which, btW, would work for P3 too! :P
Nope not working
Oops, sorry: frame.setIconImage((java.awt.Image) loadImage("icon.png").getNative()); b-(
Yep. Thanks a Ton for all the research and guiding me. Thanks Again.
But remember that it won't work in P3 (I've tried countless times).
Ok.... I am using v2.2.1 so that I can export it as an Applete to use with PHP.
Ok, I understand now.
(People don't use applets much now a days due to the fact that security restrictions on most modern browsers blocking applets by default, and allowing applets only from trusted sources and that too only after confirmation)
Ya I know but for my project, Server & Client is same computer and its working on Windows which doesn't allow reading from Serial from Web browser. So was looking for alternatives and landed up learning Processing from scratch.