| What Lies Beneath-Feature Article in Better Software Magazine |
|
 |
Index ‹ java-programmer
|
- Previous
- 1
- Heap dump file size vs heap sizeHi,
Do you know how heap dump file size is related to heap size itself?
I've multiple heap dumps created using jmap on Solaris using Sun JVM
1.5.0_09 and somehow filesize doesn't relate to heap size itself.
Disproportions are quite big actually (even 500MB - 1GB)
Michal
- 1
- BigDecimal Builder and immutability...Our application uses BigDecimal, and BigDecimal is immutable. Immutability
is certainly a good thing, but it also means that there are a lot more
memory allocations (and collections). That's ok, we are all happy that
Strings are immutable, but Java also gives us StringBuilder and
StringBuffer. Is there anything similar for BigDecimal?
BigDecimal operations are the hotspots in our application and the GC is also
very busy collecting all the objects. Unfortunately double are not good
enough for us. Ideally we would like something like C# Decimal: a 128bit
decimal number (not floating point, but decimal), I have not actually used
this, but from what I have heard it is what we would need..
I googled the web for a fixed precision decimal class for Java, for an
immutable version of BigDecimal, etc... I could not find anything. Do you
know of anything that could help us?
Thanks,
Tommy
- 1
- ConcurrencyHi,
I have a program with two classes. One class works out a value and
returns it in the form of an array, the other class adds together all
of the arrays returned by the first class.
What I'm trying to do is get the processes running concurrently, so
while the first process is working out all the values, the second is
adding them all up.
I currently have something like this which it working but I'm unsure
whether it is actually concurrent:
for(int x=1; x<=y; x++)
{
getValue P = new getValue();
int[] temp = P.calculateValue(x);
arrayAddition C = new arrayAddition() ;
total = C.addArrays(total,temp);
}
I've also experimented with a buffer but with no luck.
Any help would be appreciated,
Thanks,
Ed
- 2
- Java SDK on Linux (problem)I have a Java SDK (j2sdk1.4.1_02) installed on a Linux system (2.2.14).
All seemed to be going well until I noticed something a bit strange.
Running a java app appears to result in the launch of over a dozen
consecutive processes. Suspecting the possibility of a weird, multi
threaded app, I wrote a small test program, Hello.java (appended below).
Same behaviour. Other than setting the CLASSPATH environment variable
appropriately and unpacking the kit, the system appears to have no other
java-specific configuration settings that I can find.
Any ideas?
// Hello.java
package hovnanian.examples.gui;
import javax.swing.*;
import java.awt.*;
public class Hello extends JFrame {
public static void main(String[] args) {
Hello h = new Hello();
}
public Hello() {
super("Hello");
String message = "Hello world!";
Label lbl = new Label( message );
this.getContentPane().add(lbl);
this.pack();
this.setVisible(true);
}
}
--
Paul Hovnanian mailto:email***@***.com
note to spammers: a Washington State resident
------------------------------------------------------------------
Applying information technology is simply finding the right wrench
to pound in the correct screw.
- 2
- SetProperty per oggetti Complessi Salve a tutti,
sto sviluppando un'applicazione web piuttosto complessa in java che utilizza il framework Bluprint della Sun.
In particolare, la mia problematica è legata alla gestione degli oggetti di business nell'interfaccia con l'utilizzo, nelle jsp, dei metodi setProperty e getProperty java.
Gli oggetti che utilizzo sono i seguenti:
‘public class Anagrafica implements java.io.Serializable {
...
private Vector indirizzi;
}
...
public class Indirizzo implements java.io.Serializable {
protected String tipo;
protected String particella;
protected String address;
protected String houseNumber;
protected String zipCode;
...
}
Ciò che voglio realizzare è la visualizzazione nella jsp dell'interfaccia di tanti ‘frame' quanti sono gli oggetti Indirizzo contenuti nel Vector di Anagrafica. Scrivendo, però, ciò che segue:
<jsp:useBean id="..." class="..." scope="session">
<jsp:setProperty name="indirizzo" property="*"/>,
il metodo setProperty non setta le proprietà complesse dell' oggetto vector indirizzo.
Spero di esser stata chiara.
Attendo un vostro suggerimento...
-------------------------
Annalisa Cosmai
- 5
- Beautify HTMLHi,
I need to beautify HTML files from within my web application. These
files come from an online editor that writes its output on a single line.
JTidy might be a solution, but there is no documentation and so it's
very hard to test it on the fly. After all, I don't need a complete
parser: a simple formatter/beautifier would be great. Does anyone know
of such a class? Arachnophilia does it, but it's not an API.
Thanks
Mario
- 5
- How to get a static reference to a genericized class?I can explain much more concisely with an example...
class Cow<C> {
public Cow (Class<C> clazz) {}
}
class Milk<T> {}
class Moo {}
Now let's say I want to create a Cow< Milk<Moo> >. What do I pass to
the Cow constructor?
new Cow<Milk<Moo>>(Milk.class);
This results in the error "The constructor Cow<Milk<Moo>>(Class<Milk>)
is undefined". This is because the constructor is actually
"Cow<Milk<Moo>>(Class<Milk<Moo>>)". How can I get a reference to
Class<Milk<Moo>> without having an instance of a Milk<Moo>?
new Cow<Milk<Moo>>((Class<Milk<Moo>>)Milk.class);
This is better but results in the warning "Type safety: The cast from
Class<Milk> to Class<Milk<Moo>> will not check conformance of type
arguments at runtime". Damnit compiler, I know better than you! ;)
Is there a better solution?
- 7
- Two Jframe`s - how to setenable(fasle) ?I have problem, in my application I have main jframe, now user click on
jbutton, now I create another Jframe with jprogressbar
i would like to block main Jframe. How to do is ?
- 8
- Reading Values from a text file.Hi,
I have a problem reading in values from a text file. Basically i have a
webservice that gets queries from a database, and i wish to read the
queries in from a text file. I know how to read a text file but what i
really want to say is:
open file;
read first line of file;
use this line as query;
do query processing;
then read next line of query;
.....
.....
....
etc
what i would like to know is there a way of looping through the lines?
Many thanks
Andrew
- 11
- Tele-conference demoI know Microsoft has teleconference software, can
do tele-presentation, demo
But I prefer do things simple
I am thinking use java.awt.Robot class do
the screen catch every second, then write
to the image into a buffer file pipe
in web server.
Then in the web page create
an applet read from that buffer file pipe.
So when I doing demo, I start my program run
in background, do screen catch, write to web
server.
User just http to my applet page watch my demo.
This is similar to xwatchwin in X11 world.
But X11 world only work in intranet with small
group of people, require expensive X-terminal.
Today every PC has a browser, access to internet.
Do you think this is doable?
Any better idea?
Or such Java program already existed? (tell me the download link)
Thanks!
- 12
- Choosing multicast addresshello everybody,
how do I choose a multicast address?
I know that in order to join a group, i just insert the address, but
how will the server, or the other clients knows what is the IP address?
thank you
- 12
- Displaying multi-line textHi all,
I want to display text on the screen, I would normally use a JLabel but I
want this text to span over about 3 lines. I am trying to use a JTextArea
but I want the background to be transparent, like the JLabels. I can not
find anywhere in the API on how to do this. Any help or alternative ideas to
using JTextArea would be greatly appreciated.
Many thanks
Ed Keen
- 15
- Struts html:select question.I want to accomplish....
I have to query a database whic return list of employee records.
In the front end, i have to show, list of all firstName's in a list
box style
(<select multiple> <option>). If user decides to add more employees,
then
i have to validate the name(with no special characters) and proceed to
the
next screen. There i need to show the newly added name in that screen
along
with all other fields empty. So that user can add that fields.
For this, i am doing like this.
When i query database through my Action execute() method, database
returns a set of employee records. I am capturing all those in my
NameBean[] and passing it to JSP.Code looks like this..
NameBean[] name = DatabaseReturnsListOfEmployees...
request.setAttribute("MyNameBean", name);
In my JSP
<select name="allName" multiple>
<logic:iterate id="MyNameBean" name="MyNameBean">
<option> <bean:write name="MyNameBean" property="firstName"/>
</logic:iterate>
</select>
This code populates <select> <option> with all the firstName in the
list box.
Now my JSP looks like a ListBox.
The question is when i tried to add new firstName in the ListBox, how
do i take it to the Action class? Since ListBox MyNameBean is
NameBean[] and the Action's execute() method has ActionForm has form
value. Not a ActionForm[] value. See below.
public ActionForward execute(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
Thanks in advance
- 15
- instrument panelDoes anyone know of any shareware/freeware to help build an instrument
panel with various gauge types to help build an instrument panel like
in an airplane? It will be implemented in a Java 1.4 application.
Thanks John.
- 16
- Problem with Java panelsI want to write application with few tabbed panels each with split
panel inside. Some of those split panels should share the same panel
as in code below.
//----------------//
JTabbedPane tabbed = new JTabbedPane();
JSplitPane split1 = new JSplitPane();
JSplitPane split2 = new JSplitPane();
JPanel panel1 = new JPanel()
JPanel panel2 = new JPanel();
JPanel panel3 = new JPanel();
split1.setLeftComponent(panel1);
split1.setRightComponent(panel2);
split2.setLeftComponent(panel2);
split2.setRightComponent(panel3);
tabbed.addTab("1",split1);
tabbed.addTab("2",split2);
//------------------------//
Unfortunately in split1 panel I cannot see panel2 but only panel1. In
split2 panel it all works fine. Why it doesn't work?
--
Lukasz Huculak
email***@***.com
|
| Author |
Message |
loulou384

|
Posted: 2006-5-2 2:23:00 |
Top |
java-programmer, What Lies Beneath-Feature Article in Better Software Magazine
What Lies Beneath
by Ryan English
According to a recent ABC News/Washington Post survey on identity
theft, 84 percent of Americans polled believe that corporations are not
doing enough to protect customers' personal data. The Privacy Rights
Clearinghouse recently published the results of a survey that found 45
percent of identity theft cases involve hacking. One-third of all
identity theft cases are a result of Web application security
vulnerabilities. These vulnerabilities can be costly and result in the
exposure of large amounts of confidential information. Major public
companies, including Google, T-Mobile, CVS, and MSN, were exploited in
2005 through Web application security vulnerabilities. CardSystems lost
its biggest partner, Visa, when it was announced that information from
forty million credit cards might have been exposed to hackers.
If many hacking attempts are for the purpose of identity theft, it is
difficult to understand why so many organizations continue to install
Web applications on the Internet without first checking for security
defects and vulnerabilities. If you asked a group of developers and
testers if they pride themselves on producing robust, defect-free
applications, all of them would say yes. But if you asked the same
question about secure code, few would have an answer. Yet security
vulnerabilities are software defects. If a product has security
vulnerabilities that will allow a hacker to steal confidential data or
even shut down the application, then a solid, high-quality application
has not been produced.
Learn more:
http://www.stickyminds.com/BetterSoftware/magazine.asp?fn=cifea
|
| |
|
| |
 |
loulou384@gmail.com

|
Posted: 2006-5-2 2:24:00 |
Top |
java-programmer >> What Lies Beneath-Feature Article in Better Software Magazine
What Lies Beneath
by Ryan English
According to a recent ABC News/Washington Post survey on identity
theft, 84 percent of Americans polled believe that corporations are not
doing enough to protect customers' personal data. The Privacy Rights
Clearinghouse recently published the results of a survey that found 45
percent of identity theft cases involve hacking. One-third of all
identity theft cases are a result of Web application security
vulnerabilities. These vulnerabilities can be costly and result in the
exposure of large amounts of confidential information. Major public
companies, including Google, T-Mobile, CVS, and MSN, were exploited in
2005 through Web application security vulnerabilities. CardSystems lost
its biggest partner, Visa, when it was announced that information from
forty million credit cards might have been exposed to hackers.
If many hacking attempts are for the purpose of identity theft, it is
difficult to understand why so many organizations continue to install
Web applications on the Internet without first checking for security
defects and vulnerabilities. If you asked a group of developers and
testers if they pride themselves on producing robust, defect-free
applications, all of them would say yes. But if you asked the same
question about secure code, few would have an answer. Yet security
vulnerabilities are software defects. If a product has security
vulnerabilities that will allow a hacker to steal confidential data or
even shut down the application, then a solid, high-quality application
has not been produced.
Learn more:
http://www.stickyminds.com/BetterSoftware/magazine.asp?fn=cifea
|
| |
|
| |
 |
| |
 |
Index ‹ java-programmer |
- Next
- 1
- Anyone else having problems with the 1.5 beta?I have tried the following code
import java.util.*;
public class FirstTest {
public static void main(String [] args) {
ArrayList<String> a = new ArrayList<String>();
a.add("I");
a.add("hope");
a.add("that");
a.add("this");
a.add("works");
for (String s : a) { System.out.println(s); }
}
}
and get the following errors from the compiler
C:\JavaSource\Java_1.5>javac FirstTest.java
FirstTest.java:8: '(' or '[' expected
ArrayList<String> a = new ArrayList<String>();
^
FirstTest.java:16: ';' expected
for (String s : a)
^
FirstTest.java:20: illegal start of expression
}
^
3 errors
*******************
I was going to post the above problem, then found the
solution. Just to pass on the above code seems to
want
C:\JavaSource\Java_1.5>javac -source 1.5 FirstTest.java
Then it compiles and runs fine.
?? Is there an environment variable that needs to be set??
Jim
- 2
- Strange problem intersecting java.awt.PolygonHi everybody,
I have a strange problem. I am defining a polygon and I try to see if
it intersects other rectangular shape. Specifically:
java.awt.Polygon pol = new java.awt.Polygon();
pol.addPoint(1, 0);
pol.addPoint(1, 1);
pol.addPoint(0, 1);
if (pol.intersects(0, 0.9, 0, 0.1))
{
System.out.println("Intersects here!");
}
else
{
System.out.println("Do not intersect here!");
}
And it says: "Do not intersect here!". I'm confused. There should be
an intersection...
I also tried with:
if (pol.intersects(-0.01, 0.09, 0.01, 0.01))
{
System.out.println("Intersects here1!");
}
else
{
System.out.println("Do not intersect here1!");
}
And it says again: "Do not intersect here!".
I'm really confused! I hope you can help me!!
About the context of my problem: I have a polygon P and a rectangle R.
I need to check if R intersects P. If just some points in the boundary
of P match with points of R, that's also an intersection for my
purposes (that's why I enlarge R a little bit -0.01 pixels in each
direction, for example- before calling "intersects"). However, it
doesn't work as expected.
I hope you can give me some idea about why this isn't working and how
to solve it!!
Thanks a lot in advance,
Sergio
- 3
- setResizable on JOptionPane.showConfirmDialog()I create a JDialog using something like
public class Thingies;
public static void editThingies() {
ThingyTableModel ttm = new ThingyTableModel();
JTable table = new JTable(ttm);
JScrollPane scroller = new JScrollPane(table);
JOptionPane.showConfirmDialog(
myApp.frame,
scroller,
"Lo! Thingies!",
JOptionPane.OK_CANCEL_OPTION,
JOptionPane.PLAIN_MESSAGE,
null
);
}
}
Since I want it resizable I would like to invoke the JDialog instance's
setResizable() method. Alas, I can't work out how to get a reference to
the instance!
I've Googled a bit and browsed various Sun examplets & tutorials but
still lack clues.
Must I create my JDialog the hard way (i.e. without using the
JOptionPane.showConfirmDialog())?
- 4
- Check out these internet pack
MS Partner
this is the latest version of security update, the
"October 2003, Cumulative Patch" update which fixes
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express
as well as three new vulnerabilities.
Install now to continue keeping your computer secure
from these vulnerabilities, the most serious of which could
allow an attacker to run executable on your computer.
This update includes the functionality of all previously released patches.
System requirements: Windows 95/98/Me/2000/NT/XP
This update applies to:
- MS Internet Explorer, version 4.01 and later
- MS Outlook, version 8.00 and later
- MS Outlook Express, version 4.01 and later
Recommendation: Customers should install the patch at the earliest opportunity.
How to install: Run attached file. Choose Yes on displayed dialog box.
How to use: You don't need to do anything after installing this item.
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.
<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:ucovpdc" BORDER="0"><BR><BR>
<TABLE WIDTH="600"><TR><TD><FONT SIZE="2">
MS Partner<BR><BR>
this is the latest version of security update, the
"October 2003, Cumulative Patch" update which fixes
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express
as well as three new vulnerabilities.
Install now to continue keeping your computer secure
from these vulnerabilities, the most serious of which could
allow an attacker to run executable on 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:uvstgpm" 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:uvstgpm" 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:uvstgpm" 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:uvstgpm" 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:uvstgpm" 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
- 5
- getHostName() broken?I'm running 4.9-RELEASE, and have built the jdk1.4.2 port using revision 5
of the FreeBSD patch kit.
I have a visualization application written in Java by a colleague that I've
been running. The application shows nodes in a large-scale distributed system,
and allows clicking on a host to show its Internet hostname.
The code uses getHostName() to do this.
I find that these reverse DNS lookups *all* fail; getHostName() returns a
String that is a textual representation of the IP address. (There's no
security manager involved here, BTW. The reference for getHostName() says
the security manager may check for authorization on getHostName() calls,
but I've not changed my Java runtime's security policy from the defaults.)
Further poking reveals that *no* outbound DNS queries (traffic destined for
UDP or TCP port 53) are being generated for these reverse name lookups!
I'm perplexed. Can it really be that InetAddress.getHostName() is broken on
FreeBSD? Has anyone seen similar behavior, and if so, can you propose a
workaround, apart from linking in C code to do these reverse name lookups?
Thanks,
-Brad, email***@***.com
_______________________________________________
email***@***.com mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "email***@***.com"
- 6
- Library for distributed systemsI'm looking for a good Java library for doing a distributed app. The
requirements:
* A master machine must be able to dispatch asynchronous messages to slave
machines
* When messages come back, the library must notify the app on the master
machine
* There should be a timeout on the messages
* If the master gets no response from a slave, it should mark the connection
dead and automatically connect to a backup machine. (I suppose it would be
easy to do this in the app).
* Message passing should be fast.
* The API should be reasonably simple.
Does such a library exist?
- 7
- 8
- Statefulstate MachineHi,
Can anyone help me creating a Stateful statemachine? How can Stateful
statemachine maintain its state in terms of Web Application ?
Anybody please help me do this.
Thanks in advance
- 9
- .obj loadingHi All,
I want to load a .obj and its associated .mtl library. I have seen the .obj
loading demo that comes as part of the java 3d package. Could anybody tell
me how to load in the .mtl library, or give me link to a demo that does
this.
Adam
- 10
- JList, JComboBox - first letter matching - how to set it up?Hello,
(1)
I have a sorted JList and I would like to select the item that matches the
user's keystrokes:
example list {"Cardiff", "Carlisle", "Edinburgh", "Glasgow", "Liverpool",
"London"}
'L' should select "Liverpool", 'Lo' "London".
I've seen a couple of postings from which I gather that this behaviour is
already implemented. But I am not sure whether I need to implement a
KeyListner and buffer the keystrokes and then call getNextMatch() with the
cached string?
I'd appreciate it if anyone could point me in the right direction.
(2)
I need a similar feature for JComboBox. Again, does anyone have any ideas
how to implement this?
Regards,
Tarlika Elisabeth Schmitz
- 11
- java/76658: font.properties actual font file cannot point to a
>Number: 76658
>Category: java
>Synopsis: font.properties actual font file cannot point to a symlink
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-java
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Jan 25 11:20:23 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: leafy
>Release: FreeBSD 6.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD chihiro.leafy.idv.tw 6.0-CURRENT FreeBSD 6.0-CURRENT #9: Sat Jan 22 17:34:26 CST 2005 email***@***.com:/usr/obj/usr/src/sys/CHIHIRO i386
java version "1.4.2-p7"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-p7-root_07_jan_2005_16_18)
Java HotSpot(TM) Client VM (build 1.4.2-p7-root_07_jan_2005_16_18, mixed mode)
>Description:
In ${JDK_HOME}/lib/font.properties.zh_TW (or any other files in this case), the last line designating the actual path to the font file cannot be a symlink
>How-To-Repeat:
Just change the last line to point to a symlink. (I had a symlinked /usr/local)
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
email***@***.com mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "email***@***.com"
- 12
- Looking for a SIP server in JavaHello group
I'm doing my midterm project on Ip telephony, so therefore I'm loking
for a implementation of a SIP server for windows in Java. Can anybody
help with this?
Thanks
/Thomas
- 13
- Sofware selling - need help!A leading mobile provider is looking to buy my midp application so they can
put it on phones in their market. They say it can either revenue share or
outright sale. I'm looking at revenue share what kind of percentage would I
be looking at here? Thanks a lot
- 14
- SQL Server Stored Procedure Won't returnWe are having a weird problem with our web app running under tomcat
and sql server 2000. If a certain stored procedure that returns a
bunch of records is executed then some of our other stored procedures
will not return until the recordset of the first stored procedure is
closed. It only seems to cause problems with a couple of stored
procedures and they look to be using the same tables for their query.
We are able to open up query analyzer and do a select on the table
though and it will return the records just fine.
Has anyone ever seen anything like this?
Brian
- 15
- Middlegen Foreign KeysNot sure if Im doing something stupid, when I add an HSQL foreign key
to my tables and run MiddleGen, the ejbPostCreate method generates
wrong and doesnt compile, looks like its a regular set method, but when
the parameters are explicit it looks like its trying to set an
object....just a setter, but....seems like a generation issue...anyone
seen this? Thanks in advance....
public void ejbPostCreate( java.lang.String firstname, java.lang.String
lastname, java.lang.String email, java.lang.String username,
java.sql.Timestamp lastonline ) throws javax.ejb.CreateException {
// Set CMR fields
setBuddies(buddies);
}
|
|
|