15,913,854 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by vishal.v.patil (Top 40 by date)
vishal.v.patil
7-Feb-17 1:41am
View
Are you sure it is problem of Tomcat server? because it is giving me error of Spring Injection of bean.
vishal.v.patil
4-Oct-13 10:13am
View
Thanks for replay!!
but i have fine the solution of that for java!!
Thanks thanks another once!!
vishal.v.patil
12-Jul-13 6:34am
View
yes i am mention the port number manually..!!
vishal.v.patil
12-Jul-13 3:26am
View
but i have the some other website hosting and i am sending from that email id.,
for ex..
i have vishal@xyz.com email account and smtp is mail.xyz.com
so how can i send the mail??
vishal.v.patil
12-Jul-13 2:32am
View
i dont get your meaning.. can u please explain???
vishal.v.patil
12-Jul-13 2:30am
View
yes, i am... but its only works with the gmail smtp not for other...
vishal.v.patil
11-Jul-13 7:23am
View
thanks for replay ... here is problem is smtp..when i gives it gmail smtp and email it working smoothly....
when i give it another it gives above stacktrace.
vishal.v.patil
11-Jul-13 5:20am
View
Sorry bro... but i am not using that framework... thanks for reply!!
vishal.v.patil
11-Jul-13 3:18am
View
i have checking it with telnet command it will gives an error as
Connecting To host_name...Could not open connection to the host, on port 25: Connect failed
vishal.v.patil
22-May-13 4:14am
View
still same error...
vishal.v.patil
14-May-13 5:20am
View
ok bro thnks for u r helpful rply..!!
vishal.v.patil
14-May-13 5:11am
View
no m using third party sql query browser....
vishal.v.patil
14-May-13 4:56am
View
sorry its not working.....
vishal.v.patil
14-May-13 4:39am
View
I GOT ERROR...........>>
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@result_position int;
DECLARE @result_all int;
DECLARE @proud double;
D' at line 4
vishal.v.patil
28-Mar-13 6:34am
View
its needs a variable.... see ..Get the sum or whatever u r expression result in some variable called variable1 and display in textfield(x) and after that use this variable as a parameter to the java class function which is for u r second textfield(y)... and after that it gave any error then check the data type or variable expression.
vishal.v.patil
11-Mar-13 3:31am
View
Still got an error!!
vishal.v.patil
9-Mar-13 1:25am
View
if i want to these only one button it not works..!
How i do..
vishal.v.patil
7-Mar-13 8:51am
View
m very very thankful 2 u bro...!!!
such a lot of thanks..!!
>>>>Shubhashish Mandal
vishal.v.patil
7-Mar-13 8:35am
View
when we focus on specific cell that's value not prints!!
this is the problm....
vishal.v.patil
7-Mar-13 0:31am
View
import java.awt.*;
import java.awt.event.*;
import java.util.Calendar;
import java.text.SimpleDateFormat;
import javax.swing.*;
import javax.swing.event.PopupMenuListener;
import javax.swing.event.PopupMenuEvent;
import javax.swing.plaf.ComboBoxUI;
import javax.swing.plaf.basic.ComboPopup;
import javax.swing.plaf.metal.MetalComboBoxUI;
import javax.swing.border.Border;
import javax.swing.border.EtchedBorder;
import javax.swing.border.EmptyBorder;
import com.sun.java.swing.plaf.motif.MotifComboBoxUI;
import com.sun.java.swing.plaf.windows.WindowsComboBoxUI;
public class TestTable {
boolean flag = false;
public void create() {
final JTable table = new JTable(2, 2) {
public boolean isCellEditable(int row, int column) {
if (flag) {
return false;
}
return true;
}
};
JFrame f = new JFrame();
JButton button = new JButton("Disable");
button.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
flag = true;
}
});
JButton button1 = new JButton("Show");
button1.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
for(int i=0;i<2;i++)
for(int j=0;j<2;j++)
System.out.println("Value At TB("+i+","+j+")"+table.getModel().getValueAt(i,j));
}
});
f.setLayout(new FlowLayout());
f.add(new JScrollPane(table));
f.add(button); f.add(button1);
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
f.setVisible(true);
}
public static void main(String[] args) {
SwingUtilities.invokeLater(new Runnable() {
public void run() {
new TestTable().create();
}
});
}
}
Now see the problm...!!
vishal.v.patil
6-Mar-13 8:54am
View
it initialize the table object then it will fails...
this will create new table object..
vishal.v.patil
6-Mar-13 8:39am
View
but i want to fill data from user and after that i want to disable the editing from table on button click event!!
vishal.v.patil
6-Mar-13 8:23am
View
if we have already my data in table then after i apply tablemodel at runtime can its work fine!!??
it may lost data or not??
vishal.v.patil
6-Mar-13 5:11am
View
but it will lost my data..
i want my data also from cells...,,
vishal.v.patil
28-Feb-13 23:54pm
View
in submitting the query...
ok..forget it!!!
thnks for helping!!!
vishal.v.patil
28-Feb-13 23:53pm
View
yap...
vishal.v.patil
28-Feb-13 3:56am
View
thnks ....but u r query is checking both values id but i want to select only one id from customer and vendor table... thats the logically fault!!!
vishal.v.patil
28-Feb-13 3:54am
View
i have some reporting tool in that i m firing this query..
vishal.v.patil
28-Feb-13 3:38am
View
sorry ..it will not logically working...it wants a some kind of join.......
vishal.v.patil
28-Feb-13 3:31am
View
no its symbol of our above query...!!
vishal.v.patil
28-Feb-13 3:20am
View
it give the error as
syntax error(Missing operator) in query "<above query="">"
vishal.v.patil
28-Feb-13 2:21am
View
SELECT
c.tCustomerName,
m.tMaterialName,
v.tVendorName
FROM
MaterialTransaction w
inner JOIN CustomerMaster c ON c.nCustomerID=w.nCustomerID
inner JOIN MaterialMaster m ON m.nMaterialID=w.nMaterialID
inner JOIN VendorMaster v ON v.nVendorID=w.nVendorID
the query..
but it will get the error called missing operator(syntax error) ???
vishal.v.patil
28-Feb-13 2:17am
View
i want
tCustomerName,
tMaterialName,
tVendorName
related to MaterialTransaction table..
vishal.v.patil
7-Feb-13 7:29am
View
suppose we have an multi-user system in which i have one dashboard consider it as an grid in which i am showing values of table....if some other user updates that table in that case the dashboard grid should be updated as soon as the other user updates that table.
Just like mails...
vishal.v.patil
7-Feb-13 7:20am
View
i want it automatically..
vishal.v.patil
29-Dec-12 9:11am
View
i m checking ....now..
vishal.v.patil
29-Dec-12 8:21am
View
http://racky.wz.cz/netbeansgui.bmp
vishal.v.patil
29-Dec-12 8:16am
View
I'm creating Java application in NetBeans and I want my final application to have design named "Metal". I can set it, it's OK. But when I'm editing the GUI using "NetBeans GUI editor" I must work with typical Windows design. Is it possible to use "Metal" skin in editor too? Each design has different sizes of buttons, fonts etc.. So I'd love to see the final layout during editing. Not only after compiling.
vishal.v.patil
29-Dec-12 8:08am
View
ok..see..i have an jar files for look and feel of java...
when i am design the form in netbeans it not looks same as jar files look...
it only see in runtime.....
i want to see that look and feel(which containing in jars) at the designing...
Thnks...!!
vishal.v.patil
29-Dec-12 7:51am
View
It does not Problem in Our design but i want to see that look at design time in the tool like Netbeans or other...
Show More