The rich text editor must be implemented in Java, provide Swing support, and preferably be open source.
I'm looking to integrate it into an existing Java/Swing application.
Thanks.
Is there anyway possible to create a way for tomcat to render files out of one directory and apache to render files out of another?
I have a java based CMS (Liferay) running on my ubuntu server running with Tomcat 6 and Apache 2... but I also have several PHP applications that need to be ran as well... Is there anyway to run PHP files and my Java CMS on the same server?
test.java:
import javax.media;
Which directories are javax.media searched from?
I suppose those in CLASSPATH specified by javac -cp will of course be searched.
But will it also search in the directory where test.java locates?
And are there any other possible places that will be searched?
I've tried implementing various methods from around the internet, all seem to be providing the same solution. But it just won't work and I'm unsure why, it creates the file, however, it's blank and if I try loading that file, it has an error.
Main.java contains the code to save and load the file: 190-224.
Rooms.java contains the object.
Code
Any help is greatly appreciated, I've been trying for almost a week now! Thanks in advanced!
I am running Eclipse with Tomcat 5.5.
My dynamic web site project includes some JAVA code that needs external jar files. Where should I place those jar files so Apache will not giving me errors such as java.lang.ClassNotFoundException ?
Thanks on this.
(im new to java)
from my searches for Serialization in Java most of the examples document writing to a file or reading from one.
my question is lets say i have a serializable class AppMessage.
I would like to transmit it as byte[] over sockets to another machine where it is rebuilt from bytes received.
how could i achieve this please?
thanks for your insight in advance.
Hello,
I'm looking for a library that could perform "easy" pattern matching, a kind of pattern that can be exposed via GUI to users.
It should define a simple matching syntax like * matches any char and alike.
In other words, I want to do glob (globbing) like sun's implemented logic http://openjdk.java.net/projects/nio/javadoc/java/nio/file/PathMatcher.html but without relation to the file system.
Ideas?
Does anyone have a good solution for integrating some C# code into a java application?
The code is small, so I could re-write in java, but I would rather reuse the code if possible. Don't repeat yourself, etc.
Also, I know I can expose the C# as a web service or whatever, but it has some security/encryption stuff in there, so I would rather keep it tightly integrated if possible.
Edit: It's going to be on a server-based app, so "downloading" another runtime is irrelevant.
hey guys
I had made one application in java-swing,
Now what i am getting problem is,
i want to minimize my jframe when it is deactivate and then to maximize i want to activate that window.
So for maximize, i want to activate any jframe using java code.
So how to activate and deactivate any jframe, so that i can do something on window listeners?
thanks in advance.
Hi,
I'm searching a possibility to paint a graph in Java using AWT. My knowledge of Java is still basic, so this is mainly for getting used to AWT, even if it's already "old".
-Felix
I'm working on a small application in Java that takes a directory structure and renames the files according to a certain format, after parsing the original name.
What is the best Java class / methodology to use in order to facilitate these file operations?
Edit: the question is only regarding the file operations part, I got the "getting the formatted name" down :)
Can any body please tell me what code is used for clear screen in java? For example in c++ "system("CLS"); " is used just like this what code is used in java for clear screen? Please help. Thanks!
A friend of mine came to me with this strange behavior which i can't explain, any insight view would be appreciated.
Im running VS 2005 (C# 2.0), the following code show the behavior
int rr = "test".IndexOf("");
Console.WriteLine(rr.ToString());
the above code, print "0" which clearly show it should have return -1
This also happen in Java where the following Class show the behavior:
public class Test{
public static void main(String[] args){
System.out.println("Result->"+("test".indexOf("")));
}
}
Im running Java 1.6.0_17
I have a file whose size is about 300mb i want to read the contents line by line and then add it into arraylist. So i have made an object of array list a1 , then reading the file using bufferedreader , after that when i add the lines from file into arraylist it gives an error Exception in thread "main" java.lang.OutOfMemoryError: Java heap space. Please tell me what should be the solution for this.
Hi,
I am using JNI to call my C++ function from Java. One of the C++ function's arguments is jobject thiz (as far as I know, all JNI native functions have this argument). The function takes quite long to complete and I want to report progress back to the jobject thiz Java object, so that I can show the progress to the user. How can I call jobject's methods from C++?
I am building an application based on GXT (Java). Now the problem is that I have to connect the application to a LDAP server. Can you tell me how to connect a LDAP server from our java application and what API I will have to use for that?
Does anyone know of any node.js style webserver framework for java?
I realized that having nonblocking callback behavior while handling a web request will require deep support at the webserver level. I am interested in node.js, but when I have a web server that ends up persisting data, I would like to take advantage of the static type system that Java offers. However, I want the scalability of non-blocking io.
Hi.
I'd like to do a search for folders/directories from java, and go into those folders/directories in java. I guess it's called system utilities? Any tutorials out there, or books on the subject?
Thanks ;)
Can any body please tell me what code is used for clear screen in Java? For example in C++
system("CLS");
What code is used in Java for clear screen?
Thanks!
Just wondering if anybody has run Scala app or web-app on Java Real-Time system?
I assume because scala is bytecode compatible with regular JVM, then it should not take much effort to run it on a Real Time JVM such as Sun Java Real-Time System ?
I understand that the jvm is itself an application that turns the bytecode of the java executable into native machine code, but when using native threads I have some questions that I just cannot seem to answer.
Does every thread create their own
instance of the jvm to handle their
particular execution?
If not then does the jvm have to have some way to schedule which thread it will handle next, if so wouldn't this render the multi-threaded nature of java useless since only one thread can be ran at a time?
I've never seen a good list of free Java libraries.
What are some of your can't-live-without Java libraries?
Note: to keep this poll as useful as possible, please remember:
Post only one library per answer
We don't want duplicate answers, so before posting check if the library has been mentioned already
When adding a new library, provide a short summary of what it does / why you think it's useful
I have a system where a central Java controller launches analysis processes, which may be written in C++, Java, or Python (mostly they are C++). All these processes currently run on the same server. What are you suggestions to
Create a central log to which all processes can write to
What if in the future I push some processes to another server. How can I support distributed logging?
Thanks!