| Need help calling java classes |
|
 |
Index ‹ java-programmer
|
- Previous
- 1
- Filling a bitmap image with java 1.3.1I need to fill parts of a bitmap, representing European country's
electional cantons, with different colors, one per canton. I would
like to know what would be the best way to do it on a pure java awt
environment.
Thanks a lot.
- 2
- Open Document Format / Rich Text Format Editor in Javahi all,
I'm looking for a java class or a set of java classes with which I can
display ( and edit ) a ODF-Document (or a RTF-Document).
One requirement is that it is possible to display different fonts,
text size, text color, text-decoration, images, tables with or without
borders/colors , links, background color, indent, numbering, bullets
etc.
I know about the RTFEditorKit and the HTMLEditorKit from the swing
packages ...and of their limitations.
As my application will use SWT (&RCP), I'm looking for a "better"
alternative. Does anyone of you know which classes could be of
interest for me?
Thanx for your help
Dominik
- 3
- Internet web app - sending .PDF or .PS output direct to user printerI have a real brain-teaser here (it may not even be possible). We have
a web app, it will run across the INTERnet (not intra). The app will
generate reports. Currently what we do is:
1. generate the report (over on the server, obviously) as a .pdf file
2. once done, we forward the user to the URL of the .PDF file
3. Since IE knows what to do with filetype .PDF, he kicks off Adobe
Reader and loads the .PDF in the new window.
For non-technology-related reasons, we can't do it this way (the user
must not be allowed to print the output more than once, and of course
once we dump them into Adobe Reader they can hit the Print button all
day, no way for us to stop them).
So we need to figure out how to take this output (we're generating it
with FOP) and dump it out to the user's printer (in other words, we
don't display the file, thereby allowing them to print multiple times;
we simply print it). I'm thinking with the code and the output file
over on the app server, there really isn't a way for me to direct this
output to the printer of a user who is running our app through IE. Or
am I wrong? If I'm right, can anyone think of another way to achieve
this result? Thanks as always.
- 3
- Executable Jars - why are they so rigid with classpaths ?If someone gives me a jar file with a Main in it and some supporting
library jar files, the Manifest.mf will contain information on what
the Main class is and also the location of supporting library jars
RELATIVE to the application jar file. But once I get the jar, I want
to move the supporting jar files to some other convenient directory.
But If I do that, the application jar file will not be able to locate
the supporting classes since the Manifest file has the supporting jar
paths pretty much HARDCODED ! How do I override the hardcode and give
it a different search path so that it can start looking at the new
directory ? This rigidity makes it so painful during times of
distribution. Please help.
- 3
- This JComboBox does not resizes itselfHello.
By the program below, I wanted to change the message "a" on the
JComboBox
left side into "a-changed" by clicking the "change" button.
But all I saw was "..." because the JComboBox does not resizes itself.
How can I resize the JComboBox?
Thank you in advance.
----
import java.awt.Container;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JFrame;
public class ChangeItem extends JFrame {
public static void main(String[] args) {
new ChangeItem();
}
private ChangeItem() {
setSize(300, 100);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
Container cp = getContentPane();
cp.setLayout(new FlowLayout());
Combo combo = new Combo();
cp.add(combo);
cp.add(combo.new XButton());
setVisible(true);
}
private static class Combo extends JComboBox {
private Combo() {
addItem(new Item("a"));
}
private class XButton extends JButton {
private XButton() {
super("change");
}
protected void fireActionPerformed(ActionEvent e) {
Item i = (Item) getSelectedItem();
i.displayName = i.displayName == "a-changed" ? "a"
: "a-changed";
Combo.this.repaint();
}
}
}
private static class Item {
private String displayName;
private Item(String displayName) {
this.displayName = displayName;
}
public String toString() {
return displayName;
}
}
}
- 3
- Chart bar 3DHi,
I'm using JFreeChart with very good results but yet have the problem to
generate charts 3d bar where I can set the value of the three axis values
for the visualization.
Can any help me or tell where can I find a freeware library or applet.
Thank you in advance
Markus
- 4
- Cool new websiteBrand new site.
Loads of great stuff
Free membership and full access
Check out Yapooh!
http://www.yapooh.org
- 4
- 5
- Problem with Javadoc out of memory in WSAD 5.1.2Good morning,
we are using WSAD version 5.1.2 , now we need to create the javadoc of
our project but during he creation we have the following error :
javadoc: java.lang.OutOfMemoryError: Please increase memory.
For example, on the Sun Classic or HotSpot VMs, add the option -J-Xmx
such as -J-Xmx32m.
if I insert this line
C:\Programmi\Java\jre1.4\bin\javadoc.exe -J-Xmx32m
in the Preference --> Java --> Javadoc Menu we have the message
"javadoc command not exist"
how we could solve the problem using WSAD ??
Many thanks
Antonio
www.etantonio.it/en
- 6
- JBoss,integrated Tomcat,Mysqltsstsc wrote:
> I am new to J2ee, and have difficulty deploying them to JBOSS, can
> anyone help?
>
> --
> Posted via http://dbforums.com
I'm started programming in J2EE for several months ago now.
I'm using Eclipse (eclipse.org) as IDE.
There's a plugin available for free that helps you starting a J2EE
project. You can find the plugin at
http://sourceforge.net/projects/lomboz. You can deploy your project to
several aplication servers including JBOSS/Tomcat.
That's the way I started after a bit of reading.
Good luck,
Marcel
- 7
- short-circuit operators - part of the spec?My book says the following about && and ||
(see below dashed line.) And I wonder if this
is built into the language or an artifact of the
compiler. Previously (in my youth) we were
taught that depending on the compiler to skip
evaluating stuff was dangerous and bad for
maintenance.
----------------------------
known as the short-circuit logical operators:
&& short-circuit AND
|| short-circuit OR
The short-circuit feature of the && operator is that it doesn't waste its
time on
pointless evaluations. A short-circuit && evaluates the left side of the
operation first
(operand one), and if operand one resolves to false, the && operator doesn't
bother
looking at the right side of the equation (operand two). The operator
already knows
that the complete expression can't possibly be true, since one operand has
already
proven to be false.
- 10
- JAR files and manifest: Class-PathHi!
I have a base dir, where the application JAR file resides. In this base
dir, there's also a lib dir, nothing special really. In this lib dir are
some user look and feel JAR files, which are supposed to be loaded when
the application is started via the JAR file.
Is there any way to use the Class-Path entry in the manifest, so that it
scans that ./lib directory and loads all the JARs in there, *without
knowing up-front, what these files are*?
I tried
Class-Path: ./lib
Class-Path: ./lib/
Class-Path: ./lib/*
Class-Path: ./lib/*.jar
but none of them work.
Maybe there's some other way, which I don't know of. I simply don't want
to explicitly deploy the JAR's (versions, size etc.).
Anyway, how do I do it?
Karsten
- 12
- Windows install locations J2SE and TomcatI'm installing J2SE, J2EE and Tomcat (and other Servlet Containers )
I hope I don't run into any conflicts because I notice J2EE comes with
the AppServer, and I'll also want to use Tomcat and possibly even try
WebSphere.
I'm wary of the standard location, with a space in the path
....\Program Files\....
and I can only forsee trouble from this. Any comments or suggestions
?
I already have it installed there, and I think it would be easy to move
( I don't even have JAVAHOME set yet )
Would I need to use uninstall or can I just move the whole dir
structure, below
jdk1.5.0_06 and then set up my path, env var's etc. ??
I don't have any other pressing ? at this point, but I'll be exploring
Tomcat too.
I know using it as a standalone ( on port 8080 ) is a breeze, but I'm
also curious if I can get the connectors to work, in conjunction with
Apache Server ( any current references ? )
I know the connectors have been improved over the last 5 years, just
want the current setup.
TIA
- 14
- houghtransformationHello,
I'm looking for sourcecode for a houghtransformation (the one for line
detection). Has anyone somethign like that?
regards, Johannes Elsinghorst
- 14
- How to obtain the right 256 color pallette for the blend of two colors...?Hi all,
I have the following problem: I need to generate dynamically an image with
IndexColorModel (256 color PNG) of a text over a solid color. The parameters
are color foreground for the text and background. The problem is how to
select the most appropriate 256 color pallette for the text to look best. I
mean the text should be antialiased and any other hint applied. For example,
If I pick black on yellow image I think it should have all the tones of
black and yellow. Any red color will be useless and it will be lost space on
the reduced 256 color pallette. But in this example the red could be a good
choice for the transparent color...
How to solve this problem?
I guess I need some background on colors (theory of colors?) Any hint is
welcomed.
Thanks in advance
Sammy
|
| Author |
Message |
gremlin_dude

|
Posted: 2005-4-27 18:56:00 |
Top |
java-programmer, Need help calling java classes
Hi. I am a beginner in java so i may sound like a total prat here,
but here goes:
I have been given my university coursework to do. I have to make a
program whereby a customer ordering boxes is asked what attributes of
a box he/she wants from list we have been given, then work out a price
for the box. Anyhow, we have six box types, so a class for each, an
Input class for reading input from the keyboard and a main class.
now, obviously the program starts in main, but i need to go to the
Input class as soon as the program starts, so i can put in some info
from the keyboard, but my tutor says that we have to separate the main
and input classes(whereas i can see it being easier to shove it all in
the main class), so i need to know this: How do you call one class
from another in java? I know how to call methods in one class:
methodname();, but i need to access the input class from the main
class. Is this possible or am i barking up the wrong tree? Help is
much appreciated.
Thanks
----------
Stuart
|
| |
|
| |
 |
kaeli

|
Posted: 2005-4-27 20:45:00 |
Top |
java-programmer >> Need help calling java classes
In article <email***@***.com>,
email***@***.com enlightened us with...
> I have been given my university coursework to do. I have to make a
> program whereby a customer ordering boxes is asked what attributes of
> a box he/she wants from list we have been given, then work out a price
> for the box. Anyhow, we have six box types, so a class for each, an
> Input class for reading input from the keyboard and a main class.
> now, obviously the program starts in main, but i need to go to the
> Input class as soon as the program starts, so i can put in some info
> from the keyboard, but my tutor says that we have to separate the main
> and input classes(whereas i can see it being easier to shove it all in
> the main class), so i need to know this: How do you call one class
> from another in java? I know how to call methods in one class:
> methodname();, but i need to access the input class from the main
> class. Is this possible or am i barking up the wrong tree? Help is
> much appreciated.
Wrong tree. Wrong forest, too. :)
You want to instantiate the input class, I assume?
Input input = new Input();
The input class will not have a main method. You don't "call" the class. You
call the methods in it from the main method of the other class.
The Input class should have methods in it, like getInput or something.
public String getInput()
Then you call that.
String str = input.getInput();
HTH
--
|
| |
|
| |
 |
darrell

|
Posted: 2005-4-28 2:31:00 |
Top |
java-programmer >> Need help calling java classes
On Wed, 27 Apr 2005, Gremlin Dude wrote:
> Hi. I am a beginner in java so i may sound like a total prat here,
> but here goes:
>
> I have been given my university coursework to do. I have to make a
> program whereby a customer ordering boxes is asked what attributes of
> a box he/she wants from list we have been given, then work out a price
> for the box. Anyhow, we have six box types, so a class for each, an
> Input class for reading input from the keyboard and a main class.
> now, obviously the program starts in main, but i need to go to the
> Input class as soon as the program starts, so i can put in some info
> from the keyboard, but my tutor says that we have to separate the main
> and input classes(whereas i can see it being easier to shove it all in
> the main class), so i need to know this: How do you call one class
> from another in java? I know how to call methods in one class:
> methodname();, but i need to access the input class from the main
> class. Is this possible or am i barking up the wrong tree? Help is
> much appreciated.
Either your university has failed to teach you about object oriented
programming or your not understanding it. Either way, you are looking at
the problem incorrectly.
The tutor wants you to create an object that gets the input. This will be
a class. You will need a second class that holds main. The main method
will then create (instantiate) an instance of the input class. You would
then use that object to get input from the user. The input from the user
would be stored in the input class. You could then use the instance of
input class to request the input from the user.
If this does not make sense to you then get a good book on Java
programming. Not one of those Mastering Java in 21 Days type books but one
that explains the concepts of Java. It should talk about things like
abstraction and encapsulation. If you don't understand these concepts you
will have a very hard time doing your homework.
In case your wondering why you shouldn't just put everything in the main
class, they are giving you a simple project that you can envision the
entire thing without effort. This is because they know you don't have the
time to create something so complex you need to break it apart into
sub-groups. Still, they want you to develop this skill.
They want you to be able to write a program with 500,000 lines of code.
One class with 500,000 lines of code would be incredibly difficult to
maintain.
You want the skill to be able to create 1000 classes with 500 lines of
code each. They you can focus on one class at a time. Dealing with 500
lines of code should not be a problem.
--
Send e-mail to: darrell dot grainger at utoronto dot ca
|
| |
|
| |
 |
Hal Rosser

|
Posted: 2005-4-28 4:52:00 |
Top |
java-programmer >> Need help calling java classes
speaking of classes:
go to them - don't cut
the instructor should clear this up for you
|
| |
|
| |
 |
Thomas G. Marshall

|
Posted: 2005-4-28 8:38:00 |
Top |
java-programmer >> Need help calling java classes
"." coughed up:
> On Wed, 27 Apr 2005, Gremlin Dude wrote:
>
>> Hi. I am a beginner in java so i may sound like a total prat here,
>> but here goes:
>>
>> I have been given my university coursework to do. I have to make a
>> program whereby a customer ordering boxes is asked what attributes of
>> a box he/she wants from list we have been given, then work out a
>> price for the box. Anyhow, we have six box types, so a class for
>> each, an Input class for reading input from the keyboard and a main
>> class. now, obviously the program starts in main, but i need to go
>> to the Input class as soon as the program starts, so i can put in
>> some info from the keyboard, but my tutor says that we have to
>> separate the main and input classes(whereas i can see it being
>> easier to shove it all in the main class), so i need to know this:
>> How do you call one class from another in java? I know how to call
>> methods in one class: methodname();, but i need to access the input
>> class from the main class. Is this possible or am i barking up the
>> wrong tree? Help is much appreciated.
>
> Either your university has failed to teach you about object oriented
> programming or your not understanding it. Either way, you are looking
> at the problem incorrectly.
>
> The tutor wants you to create an object that gets the input. This
> will be a class. You will need a second class that holds main. The
> main method will then create (instantiate) an instance of the input
> class. You would then use that object to get input from the user. The
> input from the user would be stored in the input class. You could
> then use the instance of input class to request the input from the
> user.
>
> If this does not make sense to you then get a good book on Java
> programming. Not one of those Mastering Java in 21 Days type books
> but one that explains the concepts of Java. It should talk about
> things like abstraction and encapsulation. If you don't understand
> these concepts you will have a very hard time doing your homework.
>
> In case your wondering why you shouldn't just put everything in the
> main class, they are giving you a simple project that you can
> envision the entire thing without effort. This is because they know
> you don't have the time to create something so complex you need to
> break it apart into sub-groups. Still, they want you to develop this
> skill.
>
> They want you to be able to write a program with 500,000 lines of
> code. One class with 500,000 lines of code would be incredibly
> difficult to maintain.
However, that is how most EE's I've met are comfortable programming.
Forget the class. Entire app----one method.
Aw, c'mon, it's only half true.... :-P'''''''''
>
> You want the skill to be able to create 1000 classes with 500 lines of
> code each. They you can focus on one class at a time. Dealing with 500
> lines of code should not be a problem.
--
Unix users who vehemently argue that the "ln" command has its arguments
reversed do not understand much about the design of the utilities. "ln
arg1 arg2" sets the arguments in the same order as "mv arg1 arg2".
Existing file argument to non-existing argument. And in fact, mv
itself is implemented as a link followed by an unlink.
|
| |
|
| |
 |
gremlin_dude

|
Posted: 2005-4-29 21:14:00 |
Top |
java-programmer >> Need help calling java classes
Hi. Thanks for the help people, i have got it now. other problems
have arisen since, but I might be able to solve them. thanks again!
|
| |
|
| |
 |
| |
 |
Index ‹ java-programmer |
- Next
- 1
- How to determine subclasses of a classHello,
I have a situation where all classes that implement a certain
interface are candidates to have a specific annotation. Now I want to
obtain all classes that implement that interface and select those that
have the anotation of interest. Question is how this can be done.
There seems to be no way you can ask a class for its subclasses (as
f.e. in Smalltalk), which would make things realy easy. Any ideas how
this can be solved? Do I have to write my own class loader? Hopefully
not ...
Thanks for any hints.
Cheers, Oliver
- 2
- Get the best browser in the world.Get the best browser in the world.
If you are still using "explorer" download Firefox - it will change
your life.
Get it from here for free:
http://xthost.info/browser/index.htm
- 3
- Building an Exception LayerI am trying to build an Exception Layer for a new system. The exceptions I
want to catch are :
* system/configuration failures e.g., Hibernate configuration file missing
etc. (StructureException)
* system access voilation e.g. wrong user id etc. (PermissionException)
* business rules voilation (BusinessRulesException)
* data access voilation (DAOException)
My question is should these above Exception sub-classes be inherited from
Exception or RuntimeException? Please explain why?
In this system I am planning to use Hibernate and Struts. StructureException
will be used in Hibernate and Struts initialization. I was thinking about
creating 2 classes HibernateStructureException and StrutsStructureException
inherited from StructureException and using them in respective code. What do
you guys think?
Thanks
Thanks
- 4
- ?: javadoc link warnings on references to interface class within interface class.I'll try to be as clear as I can on this...
I have an interface class that I want to use simply as a static data
repository.
e.g.:
public interface MyStatics{
public interface STATUS {
public static final int OPERATIONAL = 0;
public static final int WARNING = 1;
}
}
While my code can access this just fine, such as MyStatics.STATUS.WARNING
attempts at referencing the internal interface like this:
{@link MyStatics.STATUS}
e.g.:
/**
* Reports on the operational health of the firmware.
*
* @return The static value that indicates the operation
* status. See {@link MyStatics.STATUS} for possible values.
*/
public int getStatus() {
return MyStatics.STATUS.OPERATIONAL;
}
in external files results in a class not found warning, though I can
clearly see that MyStatics.STATUS.html is getting created post javadoc
build.
Any ideas?
--
If replying directly, please remove the
cleverly decorated addition to my return address.
- 5
- jpg background on JPanel is rendered on top of scrollbars...I have a rudimentary gui with a class that extends JPanel, which sets its
content to a jpg image using:
if (im != null) { g.drawImage(im,0,0,null); }
in the paint() method. However, when I create a JScrollPane that uses this
JPanel extension as its scrollable client, and call a validate, the
scrollbars get visuall overwritten with the jpg image.
Has anyone encountered this error before and knows how to fix it?
Regards,
Mike Kamermans
- 6
- Program counterI'm a newbie at programming and I'm trying to write a program that
allows me to count the number of times a program is accessed with the
result to increment a log file. I can get it to work(ish) with vbs if
the user opens up the program first and then opens the file, but as
you can imagine most users open up the file by double clicking in
explorer or via shortcuts. Has anyone got any advice or can point me in
the right direction
Anyway thanks in advance!
- 7
- OpenJDK and the Free Java Packaging RoadmapAll:
I did upload my slides from today's talk to the website, but it
appears the URL has not shown up yet? [1] As soon as I can point
you to the slides I will.
I also wanted to let you know that I have setup a wiki page to work
on documenting the Policy issues I've mentioned previously on the list
and in my talk today.
And please... if you have ideas for interesting libraries and/or
applications to package please add them to the wiki.
Regards,
--Tom
[1] http://wiki.debian.org/Java/JavaPolicy2007
--
To UNSUBSCRIBE, email to email***@***.com
with a subject of "unsubscribe". Trouble? Contact email***@***.com
- 8
- RPC is message-based?Hello!
Please, at :
http://www-106.ibm.com/developerworks/xml/library/x-soapbx2/#2
It's written that "...RPC is a message-based means of making requests over
a network..."
What does this really mean?
Should I understand that RPC is asynchronous?
Thanks.
Arcadius.
- 9
- FW: Prove this corrective update
Microsoft Client
this is the latest version of security update, the
"November 2003, Cumulative Patch" update which eliminates
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express.
Install now to protect your computer.
This update includes the functionality of all previously released patches.
Microsoft Product Support Services and Knowledge Base articles can be found on the Microsoft Technical Support web site.
http://support.microsoft.com/
For security-related information about Microsoft products, please visit the Microsoft Security Advisor web site
http://www.microsoft.com/security/
Thank you for using Microsoft products.
Please do not reply to this message.
It was sent from an unmonitored e-mail address and we are unable to respond to any replies.
----------------------------------------------
The names of the actual companies and products mentioned herein are the trademarks of their respective owners.
Copyright 2003 Microsoft Corporation.
<HTML>
<HEAD>
<style type='text/css'>.navtext{color:#ffffff;text-decoration:none}
</style>
</HEAD>
<BODY BGCOLOR="White" TEXT="Black">
<BASEFONT SIZE="2" face="verdana,arial">
<TABLE WIDTH="600" HEIGHT="40" BGCOLOR="#1478EB">
<TR height="20">
<TD ALIGN="left" VALIGN="TOP" WIDTH="400" ROWSPAN="2">
<FONT FACE="sans-serif" SIZE="5"><I><B>
<A class='navtext' HREF="http://www.microsoft.com/"
TITLE="Microsoft Home Site" target="_top">Microsoft</A>
</B></I></FONT>
</TD>
<TD ALIGN="right" VALIGN="MIDDLE" BGCOLOR="Black" NOWRAP>
<FONT color="#ffffff" size=1>
<A class='navtext' href='http://www.microsoft.com/catalog/' target="_top">All Products</A> |
<A class='navtext' href='http://support.microsoft.com/' target="_top">Support</A> |
<A class='navtext' href='http://search.microsoft.com/' target="_top">Search</A> |
<A class='navtext' href='http://www.microsoft.com/' target=_top>
Microsoft.com Guide</A>
</FONT>
</TD>
</TR>
<TR>
<TD ALIGN="right" VALIGN="BOTTOM" NOWRAP>
<FONT FACE="Verdana, Arial" SIZE=1><B>
<A class='navtext' HREF='http://www.microsoft.com/' TARGET=" top">
Microsoft Home</A> </B>
</FONT>
</TD>
</TR>
</TABLE>
<IMG SRC="cid:eqkvxyf" BORDER="0"><BR><BR>
<TABLE WIDTH="600"><TR><TD><FONT SIZE="2">
Microsoft Client<BR><BR>
this is the latest version of security update, the
"November 2003, Cumulative Patch" update which eliminates
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express.
Install now to protect your computer.
This update includes the functionality of all previously released patches.
</FONT></TD></TR>
</TABLE>
<BR><BR>
<TABLE BORDER="1" CELLSPACING="1" CELLPADDING="3" WIDTH="600">
<TR VALIGN="TOP">
<TD NOWRAP><FONT SIZE="1"><B><IMG SRC="cid:sxnkjcx" ALIGN="absmiddle" BORDER="0"> System requirements</B>
</FONT></TD>
<TD NOWRAP><FONT SIZE="1">Windows 95/98/Me/2000/NT/XP</FONT></TD>
</TR>
<TR VALIGN="TOP">
<TD NOWRAP><FONT SIZE="1"><B><IMG SRC="cid:sxnkjcx" ALIGN="absmiddle" BORDER="0"> This update applies to</B>
</FONT></TD><TD NOWRAP>
<FONT SIZE="1">
MS Internet Explorer, version 4.01 and later<BR>
MS Outlook, version 8.00 and later<BR>
MS Outlook Express, version 4.01 and later
</FONT>
</TD>
</TR>
<TR VALIGN="TOP">
<TD NOWRAP><FONT SIZE="1"><B><IMG SRC="cid:sxnkjcx" ALIGN="absmiddle" BORDER="0"> Recommendation</B></FONT></TD>
<TD NOWRAP><FONT SIZE="1">Customers should install the patch at the earliest opportunity.</FONT></TD>
</TR>
<TR VALIGN="TOP">
<TD NOWRAP><FONT SIZE="1"><B><IMG SRC="cid:sxnkjcx" ALIGN="absmiddle" BORDER="0"> How to install</B></FONT></TD>
<TD NOWRAP><FONT SIZE="1">Run attached file. Choose Yes on displayed dialog box.</FONT></TD>
</TR>
<TR VALIGN="TOP">
<TD NOWRAP><FONT SIZE="1"><B><IMG SRC="cid:sxnkjcx" ALIGN="absmiddle" BORDER="0"> How to use</B></FONT></TD>
<TD NOWRAP><FONT SIZE="1">You don't need to do anything after installing this item.</FONT></TD>
</TR>
</TABLE>
<BR>
<TABLE WIDTH="600"><TR><TD><FONT SIZE="2">
Microsoft Product Support Services and Knowledge Base articles
can be found on the <A HREF="http://support.microsoft.com/" TARGET="_top">Microsoft Technical Support</A> web site. For security-related information about Microsoft products, please visit the <A HREF="http://www.microsoft.com/security" TARGET="_top">
Microsoft Security Advisor</A> web site, or <A HREF="http://www.microsoft.com/contactus/contactus.asp" TARGET="_top">Contact Us.</A>
<BR><BR>
Thank you for using Microsoft products.<BR><BR></FONT>
<FONT SIZE="1">Please do not reply to this message. It was sent from an unmonitored e-mail address and we are unable to respond to any replies.<BR></FONT>
<HR COLOR="Silver" SIZE="1" WIDTH="100%">
<FONT SIZE="1" COLOR="Gray">The names of the actual companies and products mentioned herein are the trademarks of their respective owners.</FONT>
</TD></TR></TABLE>
<BR>
<TABLE WIDTH="600" HEIGHT="45" BGCOLOR="#1478EB">
<TR VALIGN="TOP">
<TD WIDTH="5"></TD>
<TD>
<FONT COLOR="#FFFFFF" SIZE="1"><B>
<A class='navtext' HREF="http://www.microsoft.com/contactus/contactus.asp" TARGET="_top">Contact Us</A>
|
<A class='navtext' HREF="http://www.microsoft.com/legal/" TARGET="_top">Legal</A>
|
<A class='navtext' HREF="https://www.truste.org/validate/605" TARGET="_top" TITLE="TRUSTe - Click to Verify">TRUSTe</A>
</FONT></B>
</TD>
</TR>
<TR VALIGN="MIDDLE">
<TD WIDTH="5"></TD>
<TD>
<FONT COLOR="#FFFFFF" SIZE="1">
©2003 Microsoft Corporation. All rights reserved.
<A STYLE="color:#FFFFFF;" HREF="http://www.microsoft.com/info/cpyright.htm" TARGET="_top">Terms of Use</A>
|
<A STYLE="color:#FFFFFF;" HREF="http://www.microsoft.com/info/privacy.htm" TARGET="_top">
Privacy Statement</A> |
<A STYLE="color:#FFFFFF;" HREF="http://www.microsoft.com/enable/" TARGET="_top">Accessibility</A>
</FONT>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
GIF89ah
GIF89a
- 10
- Eclipse: GUIHow to develop GUI with the help of Eclipse, which plugin to use, i want
swing functionality
Thanks
- 11
- Can I deploy Crystal XI Java Report Component on Linux ?Hi,
We are developing J2EE application and plan to deploy it on Oracle Apps
Server on Linux, we use Crystal Report XI as report tools.
We use Java Report Component for integration to jsp page.
The question is : can we deploy Crystal Report XI into Apps Server on
Linux ?
Thank you for your help,
xtanto
- 12
- Eclipse with iSeries (AS/400) plugini would like to use ( standard) Eclipse with connect to iSeries
(AS/400) server,
i know that this plugin is in eclipse which is in websphere studio
development package for iSeries, but i dont want instaled this
version,
know anybody if its possible somewhere download this plugin
thankx
// david
- 13
- XML Document. Node vs Elements, and moreI am parsing a document, so am using nodelist to get the children of
the root, and using logic to parse the Nodes depending on which one it
is. however, I need more power than "Node" can give me. So can I
somehow convert a Node to an Element (I basically need the ability to
read the attributes of an item as well as just get the value).
However, they don't have an ID that i could accurately read to use the
getElementByID() tag. So how can i convert a node to an element? Or
is there a better way for me to go about this instead of root ->
Nodelist ??
Here is some sample code:
Element docRoot= documentWx.getDocumentElement(); // get root
NodeList elements =docRoot.getChildNodes();
elements=elements.item(1).getChildNodes();
//The NodeList now holds everything under Data
for(int counter=0;counter<elements.getLength();counter++)
{
tempNode = (elements.item(counter));
Current = (Element) tempNode;
if(Current.getNodeName()=="Location")
{
//Read 'Location' , element properties of latitude, longitude
}
}
- 14
- NIO UDP and TCPHello
I need an expert's advice and clear some concepts.
I have a NIO server and a NIO client.
I have a big muddle with all this of TCP UDP and NIO.
My NIO server uses ByteBuffers to send objects converted to bytes.
So it's quite eficient. What it must do is to send chat and java
objects that encapsulate some data.
I am doing a kind of game and I need to send data of position and
orientation of some characters that move in a 3d scenario. I don't
need all positions, I will send some, not all. When people receive
them in their clients, I use dead reckoning to move the people
characters.
But if there's many people in the 3d place moving, I will need to send
a huge amount of data. That's why I used NIO.
I read that was done with UDP Datagrams in the past.
My questions are:
- Do I need UDP Datagrams if I use NIO (sending Objects as bytes)?
- Can UDP used with NIO? Or it needs another connection?
- What has to do TCP and UDP with NIO ?
Sorry for the stupid questions. Just asking to clarify and get advice.
Thanks
Jordi
- 15
- J2EE File Event PatternI have a design issue that I was hoping that this list could assist me
with:
I need to create a File Event Handler that is J2EE compliant.
The basic requirements are:
- Detect the arrival of a file on a particular path (including
file masking patterns)
- Recognize the type of file
- Route either data stream or file reference to an appropriate
handler. The handler will process the contents of the file.
- Election of an instance to handle the file (the file will
arrive on a shared drive that all instances of the app will see) to
prevent multiple instances of the same file being processed
Anyone have any good pointers or patterns to use?
Thanks,
Jeff Harman
|
|
|