473,544 Members | 1,944 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Java Forum

Java programming language (Sun Microsystems) - Ask questions about java programming, OOP, JRE, SDK, Swing, Plugins, Java Virtual Machine(JVM), Java Libraries: Collection, XML Processing, Security, JDBC, JNDI, RMI, CORBA, AWT (GUI) and more.
3
7,089
thread by: JMBollard | last post Jul 17 '05 by: JMBollard
I am working on a Swing application (Java 1.4 ) and I am having trouble implementing the following functionality: A JTextField that should not be part of focus traversal (should not be tabbed to), but the text can be selected and copied (Ctrl-C). This is a requirement across the whole application, which is hundreds of panels, so...
3
7,952
thread by: Tejus | last post Jul 17 '05 by: DaiIchi
hi, I have a small problem. I have a Array of Strings. See code below.. <snip> File f = new File("some directory"); String names = f.list(); <snip>
0
1,138
thread by: Alchemy | last post Jul 17 '05 by: Alchemy
Hi Dears I am developing chess game written as an JavaApplet. Using Borland JBuilder 9 Personal Edition. I use the following Code void this_mouseDragged(MouseEvent e) { } class Chess_this_mouseMotionAdapter extends java.awt.event.MouseMotionAdapter {
0
2,288
thread by: Hubert Baumeister | last post Jul 17 '05 by: Hubert Baumeister
Fifth International Conference on eXtreme Programming and Agile Processes in Software Engineering XP2004 June 6-10, 2004, Garmisch-Partenkirchen, Germany http://www.xp2004.org/
0
1,245
thread by: Michael | last post Jul 17 '05 by: Michael
Hi, For an assignment ive been given a selectable channel and ive been asked to start a input reading process from a stream, ive tried using the bufferinputstream class and others but i cant get anything to work, and the internet hasnt proved that helpful either! Can anyone help?? Thanks Michael
0
1,329
thread by: Michael | last post Jul 17 '05 by: Michael
When you have a selectable channel how can you start a read from an input stream
4
2,998
thread by: Jez Naisbitt | last post Jul 17 '05 by: Jez Naisbitt
Hi Guys, After a break of 2 years I'm now re-visiting the world of java. I recall on my last foray that I had to stick to java 1.1 so I could deploy applets from a server and obtain maximum compatibility with the standard browsers, supplied on all platforms: We live in the pre-press industry where folk use diverse platforms such as Sparc,...
1
8,205
thread by: Jan Schatz | last post Jul 17 '05 by: Jan Schatz
Hi, I have an application sending JPEGs via a TCP connection. By now I used a Delphi program on the other side to receive the pics. Now I want to create a Java applet that does the work of the Delphi program, but I have problems reading the pics from the socket's stream. Here's my code:
4
4,780
thread by: Adam Steiner | last post Jul 17 '05 by: Adam Steiner
Hi, I've been doing some searching on a library that allows you to manipulate the headers of TCP, IP and UDP packets. The ones I've been able to find (in java.net I believe - Datagram and Socket) only allow TCP and UDP access, but neither allows for manipulation of the sender IP, ACK and Seq values (for TCP). I also haven't been able to...
2
2,461
thread by: Patrick Vanhoof | last post Jul 17 '05 by: kevinc
Hi, I want to learn about what JavaBeans are and how to create/use them. I could not find good information yet, so any help is much appreciated. I am using Eclipse to do some Java testing, does this support JavaBeans? Thanks, Patrick
0
1,950
thread by: Merlin_1102 | last post Jul 17 '05 by: Merlin_1102
I have read previous posts on the gridbaglayout and none seem to answer my questions (sorry if any of these have been aske dI really did search and found one large thread which took me an hour to read.. Anyway my problem is as such i need to make something like a simcity game (not quite though). Bassically I need a grid in which labels (using...
0
2,847
thread by: Alex Ostrikov | last post Jul 17 '05 by: Alex Ostrikov
Hello, all !!! I have JFrame with JTabbedPane and JMenu. Each tab of JTabbedPane has JApplet on it. And when I choose any menu item (File -> DoSmth), my JApplet covers the part of menu so that it' not visible. Looks like applet is above the menu and covers it's part. I cann't get what the problem.
2
4,642
thread by: Alex Ostrikov | last post Jul 17 '05 by: Joseph Smith
Hello, all !!! Tell me plz, which function closes JFrame. I want to close it by button "Close". Thanx
0
2,138
thread by: Joseph Smith | last post Jul 17 '05 by: Joseph Smith
I'm working on making my chat applet a little more portable. Specifically I want to set it up so the colors of the various components can be changed via param tags. The only problem is, I can't figure out how to change the background of a JTable I have to display the users that are connected... If you do: ...
4
2,432
thread by: D | last post Jul 17 '05 by: Silvio Bierman
Hi folks, This may be pretty simple for you guys but it has me stumped. BTW I'm using Java 1.1, I know it's old, don't ask me why, I just have to. I have a long string in excess of 50k that I need to process in 32k chunks. The problem is all string processing in Java is done with integers. Is there an easy way to stream multiple 32k...
1
7,942
thread by: wqhdebian | last post Jul 17 '05 by: Chris
As far as I know,when encrypt or decrypt ,a key must first be got,and the key is first generate by a tool or from SecurityRandom,that means I can not generate the same key with the same input.Does there is a method which can generate a same with the same input string? There is a need to transfer file between to site,and the customer wish...
2
8,698
thread by: Alex Ostrikov | last post Jul 17 '05 by: sunny
I have console program, which runs infinite cycle in one thread. This thread makes output to stdout with System.out(). In main() I have: public static void main(String args) { // ... starting new thread, which writes to stdout int read = 0;
0
1,564
thread by: Phil Powell | last post Jul 17 '05 by: Phil Powell
I am looking at a developer edition (if exists) of WAS instead of JRun. I can't use JRun because I am convinced that it does not run any JSP scripts that utilize BSF in any way shape or form; yet I hear that it is built into WAS. Anyone with experience uninstalling JRun within CF App Server and replacing with WAS please let me know where I...
0
3,660
thread by: Guillaume Lahitette | last post Jul 17 '05 by: Guillaume Lahitette
Hello everyone, I am looking for a lightweight Java Applet to diff and merge two text files. The functionality would be a subset of what WinMerge (http://winmerge.sourceforge.net) offers: - diff 2 text files - merge (in both directions) - color coding to highlight differences I found some Java diff tools but they were all command line....
7
2,148
thread by: Spammay Blockay | last post Jul 17 '05 by: Spammay Blockay
Does anybody know of a solid Java-based email list management product? - Tim --
1
1,453
thread by: Herman | last post Jul 17 '05 by: newcastle
Hi, I use the Sun SDK 1.4.2, and I have an assignment which requires me to use several classes. Is there anywhere particular that I need to put the compiled *.class files for the base classes that I'm building? Or will the current directory suffice? My classpath is set to: "i\QTJava.zip";. Thanks!
0
1,387
thread by: robert | last post Jul 17 '05 by: robert
can't find any info about whether it is possible to do this. i really need the 1.3.1 source to support WebSphere, but don't want to uninstall 1.4.2, install 1.3.1, save the source, then re-install 1.4.2. i have winzip 8.0, but all i see are the cab files. hmm. thanks, robert
0
1,167
thread by: Ken | last post Jul 17 '05 by: Ken
Hi. I was trying to find out what the status is for the Distributed Real-Time Specification for Java (JSR-050). Seems like there's info out there that goes to 2002 and then stops (see www.drtsj.org). Is there still work being done on this spec? Is there a draft of the spec or one coming soon? Any idea when a final version might be done? ...
8
1,842
thread by: Scaramouche | last post Jul 17 '05 by: Scaramouche
i have the contents of an html page stored within a variable. i would like to parse out the value of the TITLE tag, ie..<TITLE>this_value_is_what_i_want</TITLE> String title=null; int startidx=0, endidx=0; startidx = urlContent.indexOf("<TITLE>"); startidx += 7; endidx = urlContent.indexOf("</TITLE>");
0
2,466
thread by: Vlado | last post Jul 17 '05 by: Vlado
Hello, I need to copy/paste image from Java application to/from the System clipboard. On windows everything is just fine, but on Mac OS is not. The problem is that when I transfer image to the clipboard it's content type is image/x-java-image and when I try to paste it in some Mac application (for example MS Worf for Mac OS) it doesn't work....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.