Posts

Showing posts with the label java

Swinging with Java and Python

As always I am stuck with the option of developing the application in multiple languages. I still believe that application should be small with no bloat. Recently while testing I was amazed to see that a Java application can take as little as 1500Kb memory. So my next project is in Java and not Python as I had decided earlier. I was unable to find the libraries I needed in Python while I was able to find most of the things I needed in Java. Still not sure if this project will ever see the light of day but so far I've learned quite a lot about designing desktop applications in Java. And given the fact that JVM comes preinstalled on most computers be it a Windows based or a Mac it just makes sense to design the application using Java. Will add more once I get all the things in order. I've still not started the project so its still possible that it just might end up the the "Things to do".

Stunned by STUN using Python and Java.

Over the last two days I have been researching on P2P yet again :). Last time I was working on it I got stung by STUN . I just could not make head and tail of the RFC and I was unable to find any usable implementation online. Rather I never really searched hard enough and I left that project mid way. This time around I found a really clean implementation of STUN in python another in C# and one in Java. Sure found a lot of implementation and its quite simple unless you are on a symmetric NAT setup and that is where things start getting trickier. Also realized how simple or difficult it is to create a simple P2P application. Also read up stuff on STUNT, the extra T is for TCP. STUN works on UDP and not TCP.

Java beans, activex, flash and .net interportability

I was searching for a way to make Java inoperable with .net and activex on windows. Here are a few links that you might find interesting. Hosting .NET Controls in Java Hosting .NET Controls in Java (Print Edition) Java Native Interface (JNI) - adding an ActiveX to a Canvas Hosting ActiveX/.NET controls in a Java Application. Making Native Windows API calls from within a Java Application Make a Window "stay on top" The last two links shows you how to get the hwnd of a window and make it stay on top. The DJ Project allows you to mix heavyweight and lightweight components. so you can actually use flash animations in your Java project.

Syntax highlighting java component

I was looking for a way to syntax highlight text in a Java and here are some links that might help you out. Compiler Tools has some cool code snippets here which might help you in syntax highlighting. I also found a Java Bean at jedit.org that might be interesting to look out for.

JavaME based open source projects

I have been looking for some good softwares in JavaMe and luckily I've found a few good links. These links are more for my own reference than any other reason. JavaME based open source projects API ME J4ME ME Application Developers Project