| any way to simulate HTML hot text to pop up a JOptionPane? |
|
 |
Index ‹ java-programmer
|
- Previous
- 1
- Eclipse Internal Web Browser option disabledI am using Eclipse 3.1.1 for some reason
Window->Preferences->General->Web Browser does not allow me to select
the "Use internal Web browser" option. Only "Use external Web browser"
underneath which nothing is listed. How do I enable or install the
internal web browser? The radio check box is currently disabled.
Thanks in advance.
JM
- 1
- RedHat9 + Sun JDK 1.4.2_1 + NPTL = issuesThis is a multi-part message in MIME format.
Hi,
These 2 newsgroups (redhat.kernel.general, comp.lang.java.programmer)
seem like the apropriate place for my contemplations, if I'm at the
wrong place please direct me to the right one.
I'm trying to get as many Java threads as possible running on my Linux
box. Using RedHat 7.2 (2.4.18-24.7.xsmp) and with the right JVM (Sun
1.4.2_1) parameters (-Xss, -Xms, -Xmx) I have a fairly stable production
system that will scale up to 800 threads without significant problems.
This however is not enough for me on the long run.
I'm a loyal reader of The Volano Report [http://www.volano.com/report/]
and The C10K problem [http://www.kegel.com/c10k.html] for some time now
and after running across this victorious article about the latest JDK
and the NPTL in RedHat9
[http://developer.java.sun.com/developer/technicalArticles/JavaTechandLinux/RedHat/]
I thought that the scalability problem of Java on Linux was solved.
After some testing (see attached Test.java) I was disappointed to see
that after creating just a little under 3000 threads (that basically do
nothing) the JVM threw this dreaded "java.lang.OutOfMemoryError: unable
to create new native thread" exception again while 'free' still reports
loads of free memory. The -Xss, -Xms or -Xmx parameters to the JVM don't
seem to do anything for me (any parameter value still causes the
Exception at roughly 3000 threads).
What gives? The article about the new JVM with the new RedHat promises a
lot (eg. No limits on the number of threads), but when put into test
does not yet deliver. Do I need to tweak kernel parameters to allow for
more threads? If so, where do I do this?
For those that wonder why I need so many threads; I run a java HTTPD
where any request is a call to a servlet, each call needs a Thread. I
handle a lot of requests. For the CPU this is not an issue, the calls
are very thin. However, the Thread management in Linux does not seem to
be suitable for this kind of scaling (yet?).
I would be glad to come across someone with the same problem and other
views on this issue. I've been working with Java for more than 5 years,
starting on OS/2 and now using Linux as host OS. And my needs always
seem to just a tad ahead of the possibilities.
Sacha
- 6
- break removal
Let's say you have some code like this:
case 1:
if ( x )
if ( y )
return a;
else return b;
else return c;
break;
Jva will insist you take out the break because it is not needed.
then later you inadvertently meddle with the code say like this:
case 1:
if ( x )
if ( y )
return a;
else return c;
now you need the break back in there again, but of course Java wont't
tell you.
What is the best way to handle this to make sure you have covered all
possibilites and that you truly can't ever fall through?
You can't even put debug code in there to catch the problem. Java
will make you take it out if the prgram is CURRENTLY working.
--
Bush crime family lost/embezzled $3 trillion from Pentagon.
Complicit Bush-friendly media keeps mum. Rumsfeld confesses on video.
http://www.infowars.com/articles/us/mckinney_grills_rumsfeld.htm
Canadian Mind Products, Roedy Green.
See http://mindprod.com/iraq.html photos of Bush's war crimes
- 6
- something about SSL?HI
I am not quite understand SSL, but as i see so far, i need to put
the two identical keystore files belong to server and client program.
If somebody get that keystore file (which is very possible, because
i just embed all my class files in a jar), he may able to write a
client program to connect to my java server and do some hacking things.
Why don't we just encrpt the transfer data by a key and that key is
stay inside in both server/client code. I think it is much more
security than SSLsocket because 1) no keystore file 2) no one is able
to de-compile your class file and take your key(which stay in your
code).
Am i correct? If no, any better security solution for my server/client
software?
thanks
from Peter (email***@***.com)
- 7
- getConnection in strutsHi,
I hope the question is addressed to the appropriate forum :)
First of all I'd like to say I'm new to struts. My question is how
should I getConnection to DB. I know how to read parameters for
connection but I'd like to make conections more robust. I mean I should
use ConnectionPool. I've some idea how to achieve it but..if I split my
application into tiers (presentation, conntroller, bo and dao) how can I
get Connection from DAO tier since I don't have access to server
context. I'm looking for some advice how to cope with such problems. Of
course I could pass in constructor these parameters but I don't think it
was good solution.
How did you solve problem with accessing db from your struts applications?
Rgs
- 7
- Web Services Specifications for Systems ManagementThe Web services architecture is based on a suite
of specifications that define rich functions and that may
be composed to meet varied service requirements. A crucial
application for these services is in the area of systems
management. Read about it here:
http://developers.sun.com/techtopics/webservices/management/?ssobm=ng
- 10
- Webstart and Flash PlayerI have a Webstart application and I want to be able to invoke the Adobe
Flash Player for display in the app of *.swf files. Can anyone point
me in the direction of some code examples where this is implemented?
Many thanks in advance
- 11
- SeekJob keywords (was: How much should I charge for fixed-price...)> From: Tim X <email***@***.com>
> in larger organisations, the initial culling of applications is
> usually done by some junior staff member from the HR department - they
> know nothing about programming, computer or IT. They have a list of key
> words or criteria which they look for - those that have it get to the
> next stage, those that don't get filed in the round filing cabinet
> under the desk!
So would you recommend the keywords be listed in logical sections, such
as programming languages in one list, platforms in another list,
application areas in another list, etc., or should I just mix all the
unrelated keywords together in one huge alphabetical list to make it
easy for the junior staff member to find the keywords he/she is looking
for?
Given my experience, which keywords from my various resumes should I
keep, which should I flush, and which keywords do I not yet have but
based on my experience I should include as synonyms for the non-keyword
descriptions I already have? To save you the trouble of looking through
my dozen resumes, here's the complete list currently:
1620
360/370
6502
68000
8080
acia
algol
altair 8800a
anti-spam
applet
archie
arpanet
assembler
awt
bachelor of science degree
balanced binary trees
bitmapped image of graph to parameterized lineaments
bitnet
blockade puzzles for 3-yr-olds or dan quayle
bnf-driven type-checking
c
c++
cai
calculus
canonical representations
card input
cgi
class-assignment
client/server telecommunications
clustering
cmucl
cobol
college graduate
combinatorics
computer-assisted instruction
console typewriter
consumerism
cross-reference
data compression
ddt
dec pdp-10
destructuring
device interfaces
diablo disks
diet optimization
differential algebra
differential polynomials
dm2500 emulator
docindex
dom
eqd
expert system
file maintenance and indexing
finger
flashcard drill
forth
fortran
four-phase iv/70
fractals
frontpanel
ftp
gcd
generalized computer dating
graph hockey
gui
hashing
heapsort
help-net
hermes
high-level languages
html
hypercard
hypertalk
i/o device interrupt handlers
ibm 1130
ibm 1620
ibm 360/370
image processing
imsss
indexing
info-nets
information retrieval and indexing
intel 8080
interval arithmetic
interval refinement stochastic mapping
inventions
its
j2ee
j2se
java
javadoc
javascript
jdbc
jsax
jsp
jsys
kermit
large prime numbers
lattice manipulation
laying out text
linux
lisp
listserv
maasinfo
machine language
macintosh
macintosh allegro common lisp
macl
maclisp
macsyma
mail
mainsail
mathematical research
mathematical-formula printer
mathematics
mathprinter
mensa
meta-index
microsoft windows
mos 6502
ms-windows
natural language understanding
net-relaxation
netnews
netscout
nmr relaxation
note
nuclear magnetic resonance relaxation
numrel
nutritional diets.
odbc
opacs
os traps
packet-based data communication
packet-based telecommunications
pacs-l
payroll
pcnet
pdp-10
perl
permutations
php
pnews
pocket forth
portable standard lisp
porting
pre-registration
prettyprinter
principal differential ideals
processing and rendering remote-sensing multi-spectral images
programmer/analyst
proofreading
proximity-hashing
pseudo-random numbers
psl
putnam contest
pvm
rdrlist
redhat linux
reduce
rlisp
rmail
rmi
rn
rsa cryptosystem
rscs
s-expressions
sail
save/restore environment
sax
segmat
servlets
sesame c
shortanswertests
single-step debugger
sl
software engineer
sokoban puzzles for 3-yr-olds or dan quayle
sort/merge
space exploration
sprouts
standard lisp
stanford
stipple
sunos
svc202 commands
swing
syntax&semantics checking
syscalls
telecommunications
telnet
tenex
terminal emulation
text compression
toolbox traps
topindex
toplevel meta-index
tops-10
uci-lisp
university payroll
university pre-registration
unix
us citizen
usenet
uuo
vb
versaterm
virus detection and removal
visual basic
visual c/c++
vm/cms
waits
wilbur
word problems
wordprob
writing & public info
www
xml
zmodem
zterm
So which of those are so grossly obsolete that there's no chance anyone
will ever want somebody with such experience, so I should permanently
delete them from my keywords list? Which new keywords did I overlook?
> All of that could have been summarised as something like x years
> assembler programming.
Which is better keyword for that: assembler or assembly-language?
Or should both be included in case the junior staff member is looking
for the other one and doesn't realize they mean the same thing?
(Splitting my reply here, in case anyone stopped reading at that list
of keywords and wouldn't see the rest of the topics I'm discussing
later in the second part of this reply.)
- 11
- 11
- Mono .netRecently I learned that Mono .net will run MS .net applications. This
came as a bit of a suprise to me because I thought Mono was a different
implenteation of .net and therefore incompatible.
So this raises some interesting questions. Since Microsoft still
retains copyrights and patents to .net is Mono .net governed by the
MSDN EULA. Or can Microsoft revoke the license to the ECMA at a future
date. If that were possible it would not seem inconcievable that
Microsoft could theaten to withdraw if they did not agree to adhere to
a MS EULA. On the otherhand Microsoft could demand a fee for each
transaction. Awhile back Bill Gates said that Microsoft was not making
enough money from the internet and wanted to use .NET as a chargeback
mechanism to force them to pay 1 penny for each transaction.
Alternatively speaking however Mono .NET could be used as a migration
platform to move people to Linux. One possible advanate to Mono .NET is
that SE Linux gives the administrator more granularity to lock down the
OS.
In any case there is a lot to ponder.
- 13
- JAXM DaemonI'm a J2EE newbie. I'm searching for the correct technology, within a
J2EE framework (or not), to do this thing I need to do. I'm hoping one
of you vets has done this already or has some good ideas.
I need a daemon-like process or thread that fools the J2EE server-side
environment into thinking that it is a user's browser. At a high
level, his deamon will:
- hold a session
- process a cookie
- issue commands via Web Services
- recieve responses from the server side
- manage a deterministic state based upon the messaging
Is JAXM a good choice? It kinda seems from a cursory look at the
architecture that JAXM clients talk to JAXM servers. Everybody knows
they are JAXM, No?
Please ask if I need to be more specific. Thanks.
- 13
- Questions about code signing cert.Martin Chan wrote:
> 2. What will happen when if people use my application after my
> certificate has expired?
After the expiration date the certificate
cannot be used to sign applications.
The date has no implications for the execution
of already signed applications.
- 14
- How to make a s/w producthi,
I am having some JAVA Applets which will simulate a mechanical
Engineering Lab Set Up. I want to make this as a software Product which
is having some set up files and Register Variables etc.. I want to make
this as an evaluation copy for a particular period of time and a full
fledged software also. Can any one tell me how to make this and the
requirements for doing this.
Thanks in advance,
sarath
- 14
- Dates in a sql StatementHello,
I have the following sql statement:
SELECT code,fname,lname FROM employee WHERE datestarted = '02/12/2001'
This works fine when executed through dbaccess, but when I use JDBC to get a
ResultSet nothing is returned.
I am using JDBC.2.21.JC5, my back end eis is Informix Universal server.
Also, the query executes fine when I remove the date part:
SELECT code,fname,lname FROM employee
Can any one tell me what am I doing wrong since I am new to JDBC.
Thanks in advance.
-r
- 15
|
| Author |
Message |
signell

|
Posted: 2004-1-22 3:21:00 |
Top |
java-programmer, any way to simulate HTML hot text to pop up a JOptionPane?
Hi - I would like to put some HTML-look-like hot text inside JTextArea
setText text so that clicking on the hot text words will pop up a
JOptionPane message box. I want to do it by hot text so that: (1)
users will be totally familiar with it from all their web browsing;
and (2) the nearby text can be edited by me from time to time without
worrying about what coordinates the hot text will move to. Is this
possible in Java?
- Pete
|
| |
|
| |
 |
Andrew Thompson

|
Posted: 2004-1-22 3:40:00 |
Top |
java-programmer >> any way to simulate HTML hot text to pop up a JOptionPane?
"Peter Signell" <email***@***.com> wrote in message
news:email***@***.com...
| Hi - I would like to put some HTML-look-like hot text inside
JTextArea
| setText text so that clicking on the hot text words will pop up
a
| JOptionPane message box.
I am not so familiar with JTextArea, but this
is certainly possible in a JEditorPane.
The API docs has an example of how to detect
hyperlink clicks, then you can do pretty much
whatever you want once they are detected.
HTH
|
| |
|
| |
 |
| |
 |
Index ‹ java-programmer |
- Next
- 1
- Need help with recursive problem.Hello, I am a new programmer and am faced with a problem which I am not
totally sure how to start. The problem is as follows:
====================================================
Using recursion, compute the area of a polygone. Cut off a triangle
and use the fact that a triangle with corners (x1,y1), (x2,y2), (x3,
y3) has
area = |(x1)(y2) + (x2)(y2) + (x3)(y1) - (y1)(x2) - (y2x3) - (y3x1)|/2
The program will be testerd by redirecting a text file to its standard
input. Such a file represent a polygone. Within a file, each line
contains two (non-scientific notation) floating point number to
indicate the corrdinates of a vertex.
====================================================
My major problem is the recursive thought that it involves, I can
visualize doing this non-recursively quite easily, so if anyone could
offer any advice on how a recursive approach to this would be started I
would be very greatful.
Thanks.
- 2
- He Sneaks In Her Room And Fucks His Stepsister! Just few link on some movies...
All just for you...
Download
>>>>> http://download-video.12w.net
>>>>> http://world-sex.urllogs.com
>>>>> http://video-sex.12w.net
CLICK FREE DOWNLOAD VIDEO PORN...
L
I
C
K
T
O
W
A
T
C
H
V
I
D
E
O
P
O
R
N
D
O
W
N
L
O
A
D
F
R
E
E
.
.
.
W
E
L
C
O
M
T
O
M
O
V
I
E
S
P
O
R
N
D
O
W
N
L
O
A
D
.
.
.
- 3
- Upper Case Conversion RequiredI wrote the code snip below to do some extra checking on string to
double conversion. I did not expect the need to call toUpperCase.
What was I not anticipating? It just didn't seem logical to me,
given the number of tools out there that create their floating point
numbers with a lower case "e".
-------------------------
private java.util.Locale myLocale =
java.util.Locale.getDefault( );
private java.text.NumberFormat DFormat =
java.text.NumberFormat.getInstance( myLocale );
private java.text.ParsePosition DPosition =
new java.text.ParsePosition( 0 );
public double DparseDouble( String S ) throws NumberFormatException
{
// Trim it and check for a blank string.
// Upper case is needed to match the "E" in scientific notation.
String T = S.trim( ).toUpperCase( );
if( T.length( ) == 0 )
{
throw new NumberFormatException( );
}
// Otherwise, try to parse it.
DPosition.setIndex( 0 );
Number parsedNumber = DFormat.parse( T, DPosition );
// Failure will occur if none or only a part of the string
// is properly parsed.
if( DPosition.getIndex( ) < T.length( ) )
{
throw new NumberFormatException( );
}
return parsedNumber.doubleValue( );
}
- 4
- java regex equiv to perl !~in perl I can say:
$text = "abc def geh";
if ($text !~ m/def/) {
....
}
Obviously, I would fill $text "dynamically" from reading some kind of
input and then test it for not having the string "def" and then do
something but I'm having problems figuring out how to do this in Java
(I hope I'm not just being dumb here). Any help greatly appreciated.
Thanks.
Kevin
- 5
- What is a type error?David Hopwood <email***@***.com> wrote:
> Typical programming languages have many kinds of semantic error that can occur
> at run-time: null references, array index out of bounds, assertion failures,
> failed casts, "message not understood", ArrayStoreExceptions in Java,
> arithmetic overflow, divide by zero, etc.
>
> Conventionally, some of these errors are called "type errors" and some are
> not. But there seems to be little rhyme or reason to this categorization, as
> far as I can see. If in a particular language, both array index bounds errors
> and "message not understood" can occur at run-time, then there's no objective
> reason to call one a type error and the other not. Both *could* potentially
> be caught by a type-based analysis in some cases, and both *are not* caught
> by such an analysis in that language.
Incidentally, yes! Filtering out the terminology stuff [as hard as this
may be to believe on USENET where half the world seems to be trolls, I
really was not so aware when I originally posted of how some communities
use terminology and where the motivations come from], this was my
original point. In the static sense, there is no such thing as a type
error; only an error that's caught by a type system. I don't know if
the same can be said of dynamic types. Some people here seem to be
saying that there is a universal concept of "type error" in dynamic
typing, but I've still yet to see a good precise definition (nor a good
precise definition of dynamic typing at all).
In either case it doesn't make sense, then, to compare how static type
systems handle type errors versus how dynamic systems handle type
errors. That's akin to asking how comparing how much many courses are
offered at a five star restaurant versus how many courses are offered by
the local university. (Yes, that's an exaggeration, of course. The
word "type" in the static/dynamic typing world at least has a closer to
common root.)
> A more consistent terminology would reserve "type error" for errors that
> occur when a typechecking/inference algorithm fails, or when an explicit
> type coercion or typecheck fails.
I am concerned as to whether that actually would turn out to have any
meaning.
If we are considering array length bounds checking by type systems (and
just to confuse ourselves, by both static and dynamic type systems),
then is the error condition that gets raised by the dynamic system a
type error? Certainly, if the system keeps track of the fact that this
is an array of length 5, and uses that information to complain when
someone tries to treat the array as a different type (such as an array
of length >= 7, for example), certainly that's a type error, right?
Does the reference to the seventh index constitute an "explicit" type
coercion? I don't know. It seems pretty explicit to me, but I suspect
some may not agree.
The same thing would certainly be a type error in a static system, if
indeed the static system solved the array bounds problem at all.
While this effort to salvage the term "type error" in dynamic languages
is interesting, I fear it will fail. Either we'll all have to admit
that "type" in the dynamic sense is a psychological concept with no
precise technical definition (as was at least hinted by Anton's post
earlier, whether intentionally or not) or someone is going to have to
propose a technical meaning that makes sense, independently of what is
meant by "type" in a static system.
> In the terminology I'm suggesting, the object has no type in this language
> (assuming we're talking about a Smalltalk-like language without any type system
> extensions).
I suspect you'll see the Smalltalk version of the objections raised in
response to my post earlier. In other words, whatever terminology you
think is consistent, you'll probably have a tough time convincing
Smalltalkers to stop saying "type" if they did before. If you exclude
"message not understood" as a type error, then I think you're excluding
type errors from Smalltalk entirely, which contradicts the psychological
understanding again.
--
Chris Smith - Lead Software Developer / Technical Trainer
MindIQ Corporation
- 6
- MySQL, JDBC usageExcuse me for the simple question, but I'm new to Java and its
environment. I haven't found all the information I was looking for, or
at least it wasn't complete. Here's what I'm trying to do:
1) Setup MySQL database on OpenBSD. Done.
2) Make simple Java test program (on WinXP) to connect to the
database. Not complete, but I seem to be going in the right direction.
3) Setup the JDBC connection. Trouble here.
That isn't necessarily the order in which I did things, just a list.
I've found examples on how to program using MySQL's JDBC driver, so
that should be OK. I haven't found enough info on what JDBC and its
drivers do or what environment they need. For example, does MySQL's
driver need J2EE on the database server machine to work properly? Or
does it need something like an Apache/Tomcat combination? Does it need
anything Java related on the server machine?
It seems that OpenBSD isn't well supported by the latest Java
environments (only 1.3 and back work). Is there any way to access the
MySQL database from a Java program without needing a Java environment
on the server?
Thanks.
- 7
- java threads!!!hey..
Can a thread read from two ports simultaneously ( in java)????
Also how can i change the port to which a thread is listening to
dynamically, if at all it can be done (in java)???
- 8
- ResourceBundle.getBundle from Tomcat, to "external" directoryI have a servlet running under Tomcat. I'd like to load a
ResourceBundle that resides outside the servlet's context (directory).
I know how to get it from WEB-INF/classes:
ResourceBundle.getBundle("Basename", locale);
and I know how to get it out of some deployed package directory,
relative to WEB-INF/classes:
ResourceBundle.getBundle("com.company.package.Basename", locale);
But I was hoping I could load it from a directory that is not in the
webapp context -- for example, /opt/local/config/Basename.properties.
I tried the following two permutations, but both throw
MissingResourceException:
ResourceBundle.getBundle("/opt/local/config/Basename", locale);
ResourceBundle.getBundle(".opt.local.config.Basename", locale);
I suspect that I need to somehow get /opt/local/config on my classpath,
but not sure if that is it or not...
Anyone seen anything like this before?
thanks
scott
- 9
- Modal dialog putting thread to sleep? Hi,
I am putting together a program that reads a csv file, and stuffs it into a
database.
I want a progress bar to display as the csv file is being read in.
the way i have done this is to extend the JDialog class, with a routine that
reads the CSV file.
i then start an new thread , in which i call my extended JDialog, because it
is a thread any, update to the progress bar gets performed.
this works fine.
but to prevent the user from bringing forward any other windows in the app, i
have made the extended JDialog class open as modal, as soon as i do this the
thread freezes and stops the progress bars & the reading in of the CSV , even
though they are in their own thread.
any ideas?
steve
- 10
- Can't find file via class.getResource()I know, I know... if the file's location is on the classpath, it
should work. Well, it doesn't. No matter what I try.
I have a simple app with a toolbar which I'm putting icons on. I have
a very simple directory structure....
- bin - holds a run scripts
- lib - contains all needed jar files
- images - contains gifs, jpgs etc etc
- audio - contains audio files
My code create a JButton with an Action and adds it to a JToolbar.
That Action....
putValue(SMALL_ICON, createIcon(smallIcon));
where the icon is created by.....
URL imageURL = getClass().getResource("test.gif");
if (imageURL == null)
{
System.out.println("Resource not found");
return null;
}
return new ImageIcon(imageURL);
What is the deal? I've substituted "test.gif" with "../images/
test.gif" and every other possibility. I've even copied the gif files
into the jar file (which clearly is on the classpath since the app is
up and running) and it still can't find the resource.
Any thoughts would be great.
- 11
- 12
- which compiler was used to compile?Roedy Green wrote:
> Is there a slick way to invent a constant in a program that tells you
> which compiler you used. I distribute both JET and JavaC versions of
> my code, and it helps to know on any error dump which version they
> were using.
>
> Right now I manually change a static final just before compiling. I
> thought there ought to be something less error prone.
>
Couldn't you just use an Ant task for that?
--
Regards,
Christophe Vanfleteren
- 13
- Applet Sandbox RulesI've tried Googling but I've found conflicting answers and the clearest I've
gotten is that the rules for the sandbox an applet runs in varies according
to each browser.
I've read, for example, that applets don't have access to files on the local
file system, but I've used applets that let me upload files to a website.
Where can I find out what the rules about applet sandboxes are? For
example, if I could have an applet load and save files locally and send
them to a local printer, then I could write a program that I've given to
some people as an applet and it would make updating it much easier.
Yes, I realize an applet reading and writing files and using the printer is
a security risk, but if it's already allowable, then I could use it. Is
there a good, reliable site with information on this?
Thanks!
Hal
- 14
- "Hibernate"-ing mapsHi!
I'm using Java + Hibernate for data persistence, but I'm stuck on
hibernating second-order collections (collection of collections). I
asked this on Hibernate User Forum but got no response. What I'm trying
to do is this:
class Exam {
...
private Map<Room,List<Student>> schedule = new HashMap<Room,
List<Student>>(50);
...
}
Exam, Room and Student are all entitys, with their ID-s. Although
database model for storing "schedule" is trivial:
create table schedule (
exam_id bigint not null,
room_id varchar(30) not null,
list_index integer not null,
student_id varchar(30) not null,
primary key(exam_id, room_id, list_index)
);
I don't know how to tell Hibernate to create/use it. I dont directly
write hibernate xml descriptors, but use X-doclet for this task. So, if
anyone can tell me what X-doclet tags to write on getSchedule() method?
Thanks!
PS. If hibernate does not support this, that would also be valuable
information...
- 15
- How does JBuilder decide which ActionAdapter to use?Hi,
I'm curious about the way that the visual designer of JBuilder decides
or picks up which action adapter to use when I double-click on a visual
component. For example, given that JBuilder is configured to take
anonymous adapters for event handling, when I double-click on a
JButton named jButton1, JBuilder generates the following
listener-registering codes inside jbInit().
<CODE>
jButton1.addActionListener(new ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent e) {
jButton3_actionPerformed(e);
}
});
</CODE>
I just wonder why JBuilder know that it should take ActionListener,
not any other interface or class, for the anonymous adapter to
implement or inherit.
Chao-Jen Chen
|
|
|