aity myles

Greenhorn
+ Follow
since Jun 14, 2011
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
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by aity myles

Thank you Dittmer for your response, I actually watched a video over the internet where gmail accounts were actually used for the authentication login of a web application. I was actually thinking it could be done for ALL email accounts. I will have to go by the method you suggested. Cheers!
9 years ago
I want users who have a valid school email account to have access to my web application.As a result, I want to make use of my school email authentication for log in into my application. when users click on the login hyperlink on my web application, they will be directed to the school portal to login with their username and password. If the authentication is successful, they will be redirected back to my application. I know i will have to make use of the method: getStatus() to check if the authentication has been successful. However my problems are
1) Once the authentication has been successful, how can the users be redirected back to my application?
2) How do i retrieve the email address used for the log in process?

I will be grateful if anyone can help me out with this.
Thanks.
9 years ago
Here is my simple JSP code

when the code above was executed,i got this as the output

<b> is called a bold tag
<b> is called a bold tag
is called a bold tag
<b> is called a bold tag
<b> is called a bold tag


instead of

<b> is called a bold tag
<b> is called a bold tag
is called a bold tag
<b> is called a bold tag
<b> is called a bold tag

could someone please explain to me why the unexpected output. Thanks in anticipation of the assistance.



10 years ago
JSP
Thanks for the valuable contributions, i got it figure out through your assistance.
11 years ago
i have just successfully added a background image to a JPanel by overriding the paintComponent method, however i realized that each time i maximize the window containing the JPanel, the image doesnt re-adjust to completely fill up the the window. The size of the background image remains static irrespective of the size of the window. i want the background image to dynamically fill up the the JPanel each time the window is resized.
Thanks in advance for your assistance
11 years ago
Thanks Tony. The solution you offered was perfect.
11 years ago

Tony Docherty wrote:Yes, basically you can create your own button class which extends JButton and provide your own implementation of the paintComponent(Graphics) method.
However if you just want a standard button but displaying an image rather than text JButton will do this for you. Use the JButton constructor that takes an ImageIcon.



thank you Tony. well i am wondering if using the first option you gave i.e extending the JButton class will work if am to make use of a spherical graphic image for the custom button.
11 years ago
i dont want to make use of the regular JButton with an image in it in my application. i want to make use of a graphic image button (custom button) in my application. so i am wondering if it is possible to do that in java?
11 years ago
Hi folks, i have an application that consists of a main Jframe, a parent JPanel(serves as the background to the main frame) and a child JPanel(placed inside the parent JPanel). The problem is that each time i click on a button(in the child Jpanel) to display a message dialog box(created from the JOptionPane class), the message dialog box goes behind the main JFrame. i want the message dialog box to be displayed on the child JPanel so that i wont have to minimize the main JFrame window before responding on the message dialog box. Does anyone have an idea how i resolve this problem
12 years ago

Mohamed Sanaulla wrote: OCPJP 7 will not be released anytime soon. Only after Java 7 is released.



well Java7 will be released next month, don't you think it will be worth waiting than to be "out of date" by the end of the year?
12 years ago
hello folks, kinda new to this forum.I intend taking the Oracle Certified Professional Java Programmer exam next month, i just wanna know if it will be reasonable and wise for me to take the exam next month or simply wait till when OCPJP7 is out?
12 years ago