Jenkin Zheng

Greenhorn
+ Follow
since Mar 31, 2011
Jenkin likes ...
Eclipse IDE Opera Java
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
2
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jenkin Zheng

Bear Bibeault wrote:Please be sure to ask IDE questions in the IDEs forum. I have moved this post there for you.


Thanks ,where is the link?
Hi,everyone,I have a question again.
When I press alt + / in jsp file. I find out there a problem about Expression Language template . So I want to change it right.
eclipse -> windows -> Web -> JSP Files -> Editor -> Templates
While I change "#{${cursor}}" to "${${cursor}}",it is not incompleted. Who can help me?
Thanks, everyone.
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclipse.jdt.doc.user/concepts/concept-template-variables.htm
Hi, everyone! I want to count active sessions on server. So I implement javax.servlet.http.HttpSessionListener, Here is a part code of SessionCounter
Here is my test the counter code:
Sometimes, the result is not right, like:[null]active sessions on server.
Why does it show null?I'm a newer!
thanks, everyone!
12 years ago
There are three resources:
1.WebContent
2.ECMAScript Built-in Library
3.ECMA 3 Browser Support Library

I don't know how to use them ,and what do they use for?

Thanks.
Hi,guys.
I'm a beginner.My English is not good.


the servlet-mapping...



the servlet-mapping...

When I use javax.servlet.annotation.WebServlet. like this:



But one servlet can't duplicate annotation @WebServlet!
How can do it the same like in the web.xml!
Thanks!
12 years ago

Darryl Burke wrote:

How to repaint AlphaCompositeShow ,when I slide?


The problem here is that the AlphaCompositeShow added to the frame isn't the same as the one being repainted. Change this line:


Thanks ,thanks.
12 years ago
Hello , every JAVA lovers. I am a newer.How to repaint AlphaCompositeShow ,when I slide?Here is a part of source.

12 years ago

Hauke Ingmar Schmidt wrote:This is not easily done with the standard JComboBox which uses a JList and a ListCellRenderer as popup (the part that becomes visible after clicking the down arrow). You need a combobox that creates a custom popup that can be anything (a styled JTable looks like a good idea here, as you can set editors there that react on the first click), either by subclassing the JComboBox or maybe it is easier to build a custom component that does this.


Thanks,thanks all.
12 years ago

Hauke Ingmar Schmidt wrote:Do you want the "Keyboard Image" part of the cell to behave different than the rest?


Yes, Like this when I click the "closed image",the id infirmation will be deleted.
12 years ago
I have read the JComboBox section. But I still didn't know how to add a ActionListener to the Keyboard image.
12 years ago

Campbell Ritchie wrote:Welcome to the Ranch

How much do you already know about GUIs? Have you seen the Java™ Tutorials, eg this section, or this section?

Thanks,very Much.
12 years ago
Hi,everyone.I am new here.How can I make a gui like this.
I have make a Demo like this..But when I click on the keyboard image,the Gui didn't exit . Now, I know CellRenderer only can display the UI.My English is poor, .Thanks,everyone.
12 years ago